<template>
   <div class='resources'>
     <headrs :location='locations'/>
     <div class='w'>
       <div class='title'>
         <span class='catroy' :class='{ active:count == index}' v-for='(item,index) in titils' :key='index' @click="titlw(index)">
           {{ item }}
         </span>
       </div>
     
  <div class='catroys' 
  v-for='(item,index) in newList' 
   :key="index">
    <span class='catroysinfo'
     v-if='count==index'>
       {{ item.name + info }}
      <div class='xiaj'>
         <span class='contr'  
         v-for='(item) in  item.items'
          :key='item.RUID' 
          @click='kxue(item.RUID,item.name)'>
        {{ item.name }}
       </span>  
      </div>
  </span> 
  </div>
     </div>
		<div class=' center'>
      <div class='left'>
        <span>{{ "新书上架" }}</span>
        <div class='info' v-if='list.metrics'>
          <span class='year' >  <span class='sleter' :class='{ active:zreo  }' @click='zreoOne("0")'></span> <span>{{ Dates.getFullYear().toString() }}</span>|{{  list.metrics.Publisheds }}</span>
           <span class='year' > <span class='sleter' :class='{ active:zreoOn }' @click='zreoOne("1")'></span> <span>{{ Dates.getFullYear().toString()-1 }}</span>|{{  list.metrics.beforePublication }}</span>
           <span class='year' > <span class='sleter' :class='{ active:zreoTwo  }' @click='zreoOne("2")'></span> <span>{{ Dates.getFullYear().toString()-2 }}</span>|{{  list.metrics.PublishedLast }}</span>
           <span class='year' > <span class='sleter' :class='{ active:zreoThree  }' @click='zreoOne("3")'></span> <span>{{ Dates.getFullYear().toString()-3 }}</span>|{{  list.metrics.大前年出版 }}</span>
           <span class='year' > <span class='sleter' :class='{ active:zreoFour  }' @click='zreoOne("4")'></span> <span>{{ Dates.getFullYear().toString()-4 }}</span>|{{  list.metrics.大大前年出版 }}</span>
        </div>
         <span >{{ tys['0'] }}</span>
        <Leftinfo @func='shujk' :tyList='tyList' :arr='arr' :name='tys["0"]'/>
         <span>{{tys['1']}}</span>
        <Leftinfo @func='shujk' :tyList='tyList' :arr='arr' :name='tys["1"]'/>
         <span>{{ tys['2'] }}</span>
        <div class='info'  
         v-for='(item,index) in tyList'
        :key="index + '-nly'"
        >
           <span class='year' 
           v-if="item.name == '作者'"
            v-for='iteme in item.items'
            :key="iteme.RUID"
           
           > <span> {{ iteme.name  }}</span> |{{ iteme.count }}</span>
         
        </div>
         <span>{{ tys['3'] }}</span>
        <div class='info'  
         v-for='(item,index) in tyList'
        :key="index + '-oy'"
        >
          <span class='year'
           v-if="item.name == '主题词'"
            v-for='iteme in item.items'
            :key="iteme.RUID"
          > <span>{{ iteme.name  }} </span> |{{ iteme.count }}</span>
          
        </div>
      </div>
      <div class='right'>
        <div class='righr_title'>
          <div class='title_catory'  v-if='list.metrics'>
            <span class='catory_info' :class='{ active:countss==0 }'  @click='cartory(0)'>全部（{{ list.metrics.全部 }}）</span>
            <span class='catory_info' :class='{ active:countss==1 }'  @click='cartory(1)'>热荐（{{ list.metrics.热门推荐 }}）</span>
            <span class='catory_info' :class='{ active:countss==2 }'  @click='cartory(2)'>馆员推荐（{{list.metrics.馆员推荐 }} ）</span>
            <span class='catory_info' :class='{ active:countss==3 }'  @click='cartory(3)'>热评（{{list.metrics.热评}}）</span>
            <span class='catory_info' :class='{ active:countss==4 }'  @click='cartory(4)'>核心馆藏（{{list.metrics.核心馆藏}}）</span>
          </div>
          <div class='bott'>
            <span>共计条数</span>
            <div class='bott_right'>
              <span class='all'>本页全选</span>
              <span class='bath'>批量不感兴趣</span>
            </div>
          </div>
        </div>
        <div class='word'> 
            <div class='word_left'>
              <span class='left_info' 
              :class='{active:Keys == index  }' 
              v-for='(item,index) in Key' 
              :key='index' 
              @click='KeyIndex(index)'
              >
              {{ item }}
              </span>
            </div>
            <div class='word_search'>
              <span class='word_all'>全部  <i @click='flag =!flag'>→</i>
               <div class='word_all' v-if='flag' @click='SerchName(item)' v-for='(item,index) in searchName' :key="index">{{ item }}

               </div>
               
              </span>
              
           <input class='searchs' v-model='name' type='text'  placeholder='请输入....'>
            <span class='search' @click='searchnameinput'>搜索</span>
            </div>
        </div>
        <div class='last_boot'>
          <div class='boot_title'>
            <span class='boot_match'>全部（{{ list.recordcount }}）</span>
          </div>
        <Infocount :recordlist="list.recordlist" />
        </div>
        
      </div>
    </div>
   
   </div>
</template>
<script>
import headrs from "@/components/headers";
import Leftinfo from "@/components/Leftinfo";
import Infocount from "@/components/Infocount";
import { getHome } from "@/api/home";
export default {
  name: "resources",
  components: {
    headrs,
    Infocount,
    Leftinfo
  },
  data() {
    return {
      locations: "",
      //'重点学科','学术标签'
      titils: [ "学科分类","中图法分类"],
      info: "",
      infotip: ["", ""],
      acry: ["全部", "热荐", "馆员推荐", "热评", "核心馆藏"],
      Key: ["相关度", "首字母", "出版时间"],
      tys: [ "数据库", "出版社", "作者", "主题词"],
      Dates: new Date(),
      Shujk: [],
      zuozs: [],
      searchName: ["题名", "作者"],
      flag: false,
      zreo: false,
      zreoOn: false,
      zreoTwo: false,
      zreoThree: false,
      zreoFour: false,
      arr: [],
      arrs:[],
      name: "",
      newList: [],
      tyList: [],
      list: {},
      count: 0,
      counts: 0,
      countss: 0,
      Keys: 0,
    };
  },
  watch: {
    $route(to, from) {
      if (to.meta.title) {
        this.locations = to.meta.title;
      }
    },
  },
  filters: {
    Dts(dates) {
      return dates.substring(0, 4);
    },
  },
  mounted() {
    this.getHomeInfo();
  },
  methods: {
    getHomeInfo() {
      getHome({
        pageno: 0,
        returndolist: "0",
        filter: [{ fieldname: "dmcode", relationop: "=", word: 1987051001 }],
        mdcodes: "10100001,15900001",
        field: [
          {
            name: "题名",
            valueSource: "mdv",
            metadata: [{ metadataCode: "10100001" }],
          },
          {
            name: "封面",
            valueSource: "mdv",
            metadata: [{ metadataCode: "294750001" }],
          },
          {
            name: "中文译名",
            valueSource: "mdv",
            metadata: [{ metadataCode: "765451001" }],
          },
          {
            name: "责任者",
            valueSource: "mdv",
            metadata: [{ metadataCode: "15900001" }],
          },
          {
            name: "出版社",
            valueSource: "mdv",
            metadata: [{ metadataCode: "10400001" }],
          },
          {
            name: "出版时间",
            valueSource: "mdv",
            metadata: [{ metadataCode: "90000" }],
          },
          {
            name: "ISBN",
            valueSource: "mdv",
            metadata: [{ metadataCode: "281450001" }],
          },
          {
            name: "荐购次数",
            valueSource: "mdv",
            metadata: [{ metadataCode: "20800002" }],
          },
          {
            name: "简介",
            valueSource: "mdv",
            metadata: [{ metadataCode: "10700001" }],
          },
          {
            name: "丛编",
            valueSource: "mdv",
            metadata: [{ metadataCode: "281750001" }],
          },
          {
            name: "版次",
            valueSource: "mdv",
            metadata: [{ metadataCode: "2019102203" }],
          },
          {
            name: "页码",
            valueSource: "mdv",
            metadata: [{ metadataCode: "524100001" }],
          },
          {
            name: "语种",
            valueSource: "mdv",
            metadata: [{ metadataCode: "10800001" }],
          },
          {
            name: "纸书价格",
            valueSource: "mdv",
            metadata: [{ metadataCode: "170000" }],
          },
          {
            name: "中图法分类号",
            valueSource: "mdv",
            metadata: [{ metadataCode: "16400001" }],
          },
          {
            name: "主题",
            valueSource: "mdv",
            metadata: [{ metadataCode: "10600001" }],
          },
          {
            name: "作者简介",
            valueSource: "mdv",
            metadata: [{ metadataCode: "927603022" }],
          },
          {
            name: "不感兴趣用户",
            valueSource: "mdv",
            metadata: [{ metadataCode: "2020041301" }],
          },
          {
            name: "副题名",
            valueSource: "mdv",
            metadata: [{ metadataCode: "765351001" }],
          },
          {
            name: "豆瓣评分",
            valueSource: "mdv",
            metadata: [{ metadataCode: "2020022301" }],
          },
          {
            name: "收藏馆数量",
            valueSource: "mdv",
            metadata: [{ metadataCode: "2020051101" }],
          },
          {
            name: "价格",
            valueSource: "mdv",
            metadata: [{ metadataCode: "281850001" }],
          },
          {
            name: "出版年",
            valueSource: "mdv",
            metadata: [{ metadataCode: "10500021" }],
          },
          {
            name: "馆藏标识",
            valueSource: "mdv",
            metadata: [{ metadataCode: "20171015" }],
          },
          {
            name: "资源库标识",
            valueSource: "mdv",
            metadata: [{ metadataCode: "20171014" }],
          },
          {
            name: "目次",
            valueSource: "mdv",
            metadata: [{ metadataCode: "50" }],
          },
        ],
        aggs: [
          {
            type: "category",
            name: "中图法分类",
            pagesize: 1000,
            order: "OrdernoASC",
            classroot: "182693850009090bd3",
            mdcode: "331450001",
            delurlparam: "pn",
            selitemurlparam: "_aggztf",
            navlevel: 1,
            shownodata: "1",
            allwaysroot: 1,
          },
          {
            type: "category",
            name: "学科分类",
            pagesize: 1000,
            order: "OrdernoASC",
            classroot: "1ad180a50009a40bce",
            mdcode: "331440001",
            delurlparam: "pn",
            selitemurlparam: "_aggxk",
            navlevel: 1,
            shownodata: "1",
            allwaysroot: 1,
          },
          {
            type: "category",
            name: "新书上架",
            pagesize: 1000,
            order: "OrdernoASC",
            classroot: {
              item: [{ itemtype: "u", value: "gcclass" }],
              defvalue: "cate1",
            },
            mdcode: "2020040101",
            delurlparam: "pn",
            selitemurlparam: "_agggc",
            navlevel: 1,
            shownodata: "1",
            allwaysroot: 1,
          },
          {
            type: "mdvalue",
            name: "语种",
            pagesize: 100,
            order: "CountDESC",
            mdcode: "10800001",
            selitemurlparam: "_aggmdv_10800001",
            delurlparam: "pn",
          },
          {
            type: "mdvalue",
            name: "出版社",
            pagesize: 100,
            order: "CountDESC",
            mdcode: "10400001",
            selitemurlparam: "_aggmdv_10400001",
            delurlparam: "pn",
          },
          {
            type: "mdvalue",
            name: "作者",
            pagesize: 100,
            order: "CountDESC",
            mdcode: "15900001",
            selitemurlparam: "_aggmdv_15900001",
            delurlparam: "pn",
          },
          {
            type: "mdvalue",
            name: "主题词",
            pagesize: 100,
            order: "CountDESC",
            mdcode: "10600001",
            selitemurlparam: "_aggmdv_10600001",
            delurlparam: "pn",
          },
          {
            type: "mdvalue",
            name: "数据库",
            pagesize: 50,
            order: "CountDESC",
            mdcode: "20171014",
            selitemurlparam: "_aggmdv_20171014",
            delurlparam: "pn",
          },
          {
            type: "mdvalue",
            name: "标签",
            pagesize: 20,
            order: "CountDESC",
            mdcode: "2020051311",
            selitemurlparam: "bqname",
            delurlparam: "pn",
          },
        ],
        metrics: [
          {
            type: "count",
            name: "全部",
            fieldname: "RUID",
          },
          {
            type: "count",
            name: "Publisheds",
            fieldname: "RUID",
            filter: [
              {
                fieldname: "10500021",
                relationop: "=",
                valuetype: "D",
                word: [
                  {
                    itemtype: "edate",
                    value: {
                      base: "systime",
                      type: "year",
                      dif: "0",
                      pattern: "yyyy",
                    },
                  },
                ],
              },
            ],
          },
          {
            type: "count",
            name: "PublishedLast",
            fieldname: "RUID",
            filter: [
              {
                fieldname: "10500021",
                relationop: "=",
                valuetype: "D",
                word: [
                  {
                    itemtype: "edate",
                    value: {
                      base: "systime",
                      type: "year",
                      dif: "-1",
                      pattern: "yyyy",
                    },
                  },
                ],
              },
            ],
          },
          {
            type: "count",
            name: "beforePublication",
            fieldname: "RUID",
            filter: [
              {
                fieldname: "10500021",
                relationop: "=",
                valuetype: "D",
                word: [
                  {
                    itemtype: "edate",
                    value: {
                      base: "systime",
                      type: "year",
                      dif: "-2",
                      pattern: "yyyy",
                    },
                  },
                ],
              },
            ],
          },
          {
            type: "count",
            name: "大前年出版",
            fieldname: "RUID",
            filter: [
              {
                fieldname: "10500021",
                relationop: "=",
                valuetype: "D",
                word: [
                  {
                    itemtype: "edate",
                    value: {
                      base: "systime",
                      type: "year",
                      dif: "-3",
                      pattern: "yyyy",
                    },
                  },
                ],
              },
            ],
          },
          {
            type: "count",
            name: "大大前年出版",
            fieldname: "RUID",
            filter: [
              {
                fieldname: "10500021",
                relationop: "=",
                valuetype: "D",
                word: [
                  {
                    itemtype: "edate",
                    value: {
                      base: "systime",
                      type: "year",
                      dif: "-4",
                      pattern: "yyyy",
                    },
                  },
                ],
              },
            ],
          },
          {
            type: "count",
            name: "热门推荐",
            fieldname: "RUID",
            filter: [
              {
                fieldname: "20800002",
                relationop: ">=",
                word: "2",
                valuetype: "L",
              },
            ],
          },
          {
            type: "count",
            name: "馆员推荐",
            fieldname: "RUID",
            filter: [
              {
                relationop: "join",
                join: {
                  type: "recommenddata6",
                  filter: [
                    {
                      fieldname: "recommendruid",
                      relationop: "=",
                      word: "tuijian",
                    },
                    {
                      fieldname: "siteid",
                      relationop: "=",
                      word: [{ itemtype: "userinfo", value: "siteid" }],
                    },
                    {
                      fieldname: "customercode",
                      logicalop: "and",
                      valuetype: "S",
                      relationop: "=",
                      word: [{ itemtype: "userinfo", value: "customercode" }],
                    },
                  ],
                },
              },
            ],
          },
          {
            type: "count",
            name: "热评",
            fieldname: "RUID",
            filter: [
              {
                fieldname: "2020022301",
                relationop: ">",
                word: "8",
                valuetype: "L",
              },
            ],
          },
          {
            type: "count",
            name: "核心馆藏",
            fieldname: "RUID",
            filter: [
              {
                fieldname: "2020051101",
                relationop: ">",
                word: "5",
                valuetype: "L",
              },
            ],
          },
          {
            type: "count",
            name: "我的可荐购",
            fieldname: "RUID",
            filter: [
              {
                fieldname: "externallibdataebook.libtype",
                relationop: "=",
                word: {
                  item: [{ itemtype: "confinfo", value: "recomlib" }],
                  defvalue: "xxx",
                },
              },
            ],
          },
          {
            type: "count",
            name: "已荐购",
            fieldname: "RUID",
            filter: [
              {
                relationop: "join",
                join: {
                  type: "orderdata6",
                  logicalop: "and",
                  filter: [
                    {
                      fieldname: "recommenduserruid",
                      relationop: "=",
                      logicalop: "and",
                      word: {
                        item: [{ itemtype: "userinfo", value: "ruid" }],
                        defvalue: "xxx",
                      },
                    },
                    {
                      fieldname: "customercode",
                      relationop: "=",
                      logicalop: "AND",
                      word: [{ itemtype: "userinfo", value: "customercode" }],
                    },
                  ],
                },
              },
              {
                fieldname: "2020041301",
                relationop: "!=",
                word: [{ itemtype: "userinfo", value: "ruid" }],
              },
            ],
          },
          {
            type: "count",
            name: "我的推荐",
            fieldname: "RUID",
            filter: [
              {
                relationop: "join",
                join: {
                  type: "recommenddata6",
                  logicalop: "and",
                  filter: [
                    {
                      fieldname: "recommendruid",
                      relationop: "=",
                      word: "tuijian",
                    },
                    {
                      fieldname: "creator",
                      relationop: "=",
                      word: {
                        item: [{ itemtype: "userinfo", value: "ruid" }],
                        defvalue: "xxx",
                      },
                    },
                    {
                      fieldname: "customercode",
                      relationop: "=",
                      logicalop: "AND",
                      word: [{ itemtype: "userinfo", value: "customercode" }],
                    },
                  ],
                },
              },
            ],
          },
          {
            type: "count",
            name: "本馆购买",
            fieldname: "RUID",
            filter: [
              {
                fieldname: "externallibdataebook.libtype",
                relationop: "=",
                word: {
                  item: [{ itemtype: "confinfo", value: "custlib" }],
                  defvalue: "xxx",
                },
              },
            ],
          },
          {
            type: "count",
            name: "我的不感兴趣",
            fieldname: "RUID",
            filter: [
              {
                fieldname: "2020041301",
                relationop: "=",
                word: [{ itemtype: "userinfo", value: "ruid" }],
              },
              {
                relationop: "join",
                join: {
                  type: "recommenddata6",
                  filter: [
                    {
                      fieldname: "creator",
                      relationop: "=",
                      word: {
                        item: [{ itemtype: "userinfo", value: "ruid" }],
                        defvalue: "xxx",
                      },
                    },
                    {
                      fieldname: "wfstatus",
                      relationop: "=",
                      word: "boring",
                    },
                  ],
                },
              },
            ],
          },
          {
            type: "count",
            name: "我的收藏",
            fieldname: "RUID",
            filter: [],
          },
          {
            type: "count",
            name: "我的书单",
            fieldname: "RUID",
            filter: [],
          },
        ],
      }).then((res) => {
        this.list = res;

        if (!res.aggs) {
          return;
        }
        res.aggs.forEach((item) => {
          this.titils.forEach((Element) => {
            if (item.name === Element) {
              this.newList.unshift(item);
            }
          });
        });

        res.aggs.forEach((item, index) => {
          this.tys.forEach((Element, index) => {
            if (item.name === Element) {
              this.tyList.push(item);
            }
          });
        });
      });
    },
    titlw(index) {
      this.count = index;
      this.info = this.infotip[index];
    },
    kxue(id, name) {
      this.info += `>${name}`;
      this.infotip[this.count] = this.info;
      getHome({
        pageno: 0,
        returndolist: "0",
        filter: [
          { fieldname: "dmcode", relationop: "=", word: 1987051001 },
          {
            fieldname: "331440001",
            relationop: "supclass",
            word: id,
          },
        ],
        mdcodes: "10100001,15900001",
        field: [
          {
            name: "题名",
            valueSource: "mdv",
            metadata: [{ metadataCode: "10100001" }],
          },
          {
            name: "封面",
            valueSource: "mdv",
            metadata: [{ metadataCode: "294750001" }],
          },
          {
            name: "中文译名",
            valueSource: "mdv",
            metadata: [{ metadataCode: "765451001" }],
          },
          {
            name: "责任者",
            valueSource: "mdv",
            metadata: [{ metadataCode: "15900001" }],
          },
          {
            name: "出版社",
            valueSource: "mdv",
            metadata: [{ metadataCode: "10400001" }],
          },
          {
            name: "出版时间",
            valueSource: "mdv",
            metadata: [{ metadataCode: "90000" }],
          },
          {
            name: "ISBN",
            valueSource: "mdv",
            metadata: [{ metadataCode: "281450001" }],
          },
          {
            name: "荐购次数",
            valueSource: "mdv",
            metadata: [{ metadataCode: "20800002" }],
          },
          {
            name: "简介",
            valueSource: "mdv",
            metadata: [{ metadataCode: "10700001" }],
          },
          {
            name: "丛编",
            valueSource: "mdv",
            metadata: [{ metadataCode: "281750001" }],
          },
          {
            name: "版次",
            valueSource: "mdv",
            metadata: [{ metadataCode: "2019102203" }],
          },
          {
            name: "页码",
            valueSource: "mdv",
            metadata: [{ metadataCode: "524100001" }],
          },
          {
            name: "语种",
            valueSource: "mdv",
            metadata: [{ metadataCode: "10800001" }],
          },
          {
            name: "纸书价格",
            valueSource: "mdv",
            metadata: [{ metadataCode: "170000" }],
          },
          {
            name: "中图法分类号",
            valueSource: "mdv",
            metadata: [{ metadataCode: "16400001" }],
          },
          {
            name: "主题",
            valueSource: "mdv",
            metadata: [{ metadataCode: "10600001" }],
          },
          {
            name: "作者简介",
            valueSource: "mdv",
            metadata: [{ metadataCode: "927603022" }],
          },
          {
            name: "不感兴趣用户",
            valueSource: "mdv",
            metadata: [{ metadataCode: "2020041301" }],
          },
          {
            name: "副题名",
            valueSource: "mdv",
            metadata: [{ metadataCode: "765351001" }],
          },
          {
            name: "豆瓣评分",
            valueSource: "mdv",
            metadata: [{ metadataCode: "2020022301" }],
          },
          {
            name: "收藏馆数量",
            valueSource: "mdv",
            metadata: [{ metadataCode: "2020051101" }],
          },
          {
            name: "价格",
            valueSource: "mdv",
            metadata: [{ metadataCode: "281850001" }],
          },
          {
            name: "出版年",
            valueSource: "mdv",
            metadata: [{ metadataCode: "10500021" }],
          },
          {
            name: "馆藏标识",
            valueSource: "mdv",
            metadata: [{ metadataCode: "20171015" }],
          },
          {
            name: "资源库标识",
            valueSource: "mdv",
            metadata: [{ metadataCode: "20171014" }],
          },
          {
            name: "目次",
            valueSource: "mdv",
            metadata: [{ metadataCode: "50" }],
          },
        ],
        aggs: [
          {
            type: "category",
            name: "中图法分类",
            pagesize: 1000,
            order: "OrdernoASC",
            classroot: id,
            mdcode: "331450001",
            delurlparam: "pn",
            selitemurlparam: "_aggztf",
            navlevel: 1,
            shownodata: "1",
            allwaysroot: 1,
          },
          {
            type: "category",
            name: "学科分类",
            pagesize: 1000,
            order: "OrdernoASC",
            classroot: id,
            mdcode: "331440001",
            delurlparam: "pn",
            selitemurlparam: "_aggxk",
            navlevel: 1,
            shownodata: "1",
            allwaysroot: 1,
          },
          {
            type: "category",
            name: "新书上架",
            pagesize: 1000,
            order: "OrdernoASC",
            classroot: {
              item: [{ itemtype: "u", value: "gcclass" }],
              defvalue: "cate1",
            },
            mdcode: "2020040101",
            delurlparam: "pn",
            selitemurlparam: "_agggc",
            navlevel: 1,
            shownodata: "1",
            allwaysroot: 1,
          },
          {
            type: "mdvalue",
            name: "语种",
            pagesize: 100,
            order: "CountDESC",
            mdcode: "10800001",
            selitemurlparam: "_aggmdv_10800001",
            delurlparam: "pn",
          },
          {
            type: "mdvalue",
            name: "出版社",
            pagesize: 100,
            order: "CountDESC",
            mdcode: "10400001",
            selitemurlparam: "_aggmdv_10400001",
            delurlparam: "pn",
          },
          {
            type: "mdvalue",
            name: "作者",
            pagesize: 100,
            order: "CountDESC",
            mdcode: "15900001",
            selitemurlparam: "_aggmdv_15900001",
            delurlparam: "pn",
          },
          {
            type: "mdvalue",
            name: "主题词",
            pagesize: 100,
            order: "CountDESC",
            mdcode: "10600001",
            selitemurlparam: "_aggmdv_10600001",
            delurlparam: "pn",
          },
          {
            type: "mdvalue",
            name: "数据库",
            pagesize: 50,
            order: "CountDESC",
            mdcode: "20171014",
            selitemurlparam: "_aggmdv_20171014",
            delurlparam: "pn",
          },
          {
            type: "mdvalue",
            name: "标签",
            pagesize: 20,
            order: "CountDESC",
            mdcode: "2020051311",
            selitemurlparam: "bqname",
            delurlparam: "pn",
          },
        ],
        metrics: [
          {
            type: "count",
            name: "全部",
            fieldname: "RUID",
          },
          {
            type: "count",
            name: "Publisheds",
            fieldname: "RUID",
            filter: [
              {
                fieldname: "10500021",
                relationop: "=",
                valuetype: "D",
                word: [
                  {
                    itemtype: "edate",
                    value: {
                      base: "systime",
                      type: "year",
                      dif: "0",
                      pattern: "yyyy",
                    },
                  },
                ],
              },
            ],
          },
          {
            type: "count",
            name: "PublishedLast",
            fieldname: "RUID",
            filter: [
              {
                fieldname: "10500021",
                relationop: "=",
                valuetype: "D",
                word: [
                  {
                    itemtype: "edate",
                    value: {
                      base: "systime",
                      type: "year",
                      dif: "-1",
                      pattern: "yyyy",
                    },
                  },
                ],
              },
            ],
          },
          {
            type: "count",
            name: "beforePublication",
            fieldname: "RUID",
            filter: [
              {
                fieldname: "10500021",
                relationop: "=",
                valuetype: "D",
                word: [
                  {
                    itemtype: "edate",
                    value: {
                      base: "systime",
                      type: "year",
                      dif: "-2",
                      pattern: "yyyy",
                    },
                  },
                ],
              },
            ],
          },
          {
            type: "count",
            name: "大前年出版",
            fieldname: "RUID",
            filter: [
              {
                fieldname: "10500021",
                relationop: "=",
                valuetype: "D",
                word: [
                  {
                    itemtype: "edate",
                    value: {
                      base: "systime",
                      type: "year",
                      dif: "-3",
                      pattern: "yyyy",
                    },
                  },
                ],
              },
            ],
          },
          {
            type: "count",
            name: "大大前年出版",
            fieldname: "RUID",
            filter: [
              {
                fieldname: "10500021",
                relationop: "=",
                valuetype: "D",
                word: [
                  {
                    itemtype: "edate",
                    value: {
                      base: "systime",
                      type: "year",
                      dif: "-4",
                      pattern: "yyyy",
                    },
                  },
                ],
              },
            ],
          },
          {
            type: "count",
            name: "热门推荐",
            fieldname: "RUID",
            filter: [
              {
                fieldname: "20800002",
                relationop: ">=",
                word: "2",
                valuetype: "L",
              },
            ],
          },
          {
            type: "count",
            name: "馆员推荐",
            fieldname: "RUID",
            filter: [
              {
                relationop: "join",
                join: {
                  type: "recommenddata6",
                  filter: [
                    {
                      fieldname: "recommendruid",
                      relationop: "=",
                      word: "tuijian",
                    },
                    {
                      fieldname: "siteid",
                      relationop: "=",
                      word: [{ itemtype: "userinfo", value: "siteid" }],
                    },
                    {
                      fieldname: "customercode",
                      logicalop: "and",
                      valuetype: "S",
                      relationop: "=",
                      word: [{ itemtype: "userinfo", value: "customercode" }],
                    },
                  ],
                },
              },
            ],
          },
          {
            type: "count",
            name: "热评",
            fieldname: "RUID",
            filter: [
              {
                fieldname: "2020022301",
                relationop: ">",
                word: "8",
                valuetype: "L",
              },
            ],
          },
          {
            type: "count",
            name: "核心馆藏",
            fieldname: "RUID",
            filter: [
              {
                fieldname: "2020051101",
                relationop: ">",
                word: "5",
                valuetype: "L",
              },
            ],
          },
          {
            type: "count",
            name: "我的可荐购",
            fieldname: "RUID",
            filter: [
              {
                fieldname: "externallibdataebook.libtype",
                relationop: "=",
                word: {
                  item: [{ itemtype: "confinfo", value: "recomlib" }],
                  defvalue: "xxx",
                },
              },
            ],
          },
          {
            type: "count",
            name: "已荐购",
            fieldname: "RUID",
            filter: [
              {
                relationop: "join",
                join: {
                  type: "orderdata6",
                  logicalop: "and",
                  filter: [
                    {
                      fieldname: "recommenduserruid",
                      relationop: "=",
                      logicalop: "and",
                      word: {
                        item: [{ itemtype: "userinfo", value: "ruid" }],
                        defvalue: "xxx",
                      },
                    },
                    {
                      fieldname: "customercode",
                      relationop: "=",
                      logicalop: "AND",
                      word: [{ itemtype: "userinfo", value: "customercode" }],
                    },
                  ],
                },
              },
              {
                fieldname: "2020041301",
                relationop: "!=",
                word: [{ itemtype: "userinfo", value: "ruid" }],
              },
            ],
          },
          {
            type: "count",
            name: "我的推荐",
            fieldname: "RUID",
            filter: [
              {
                relationop: "join",
                join: {
                  type: "recommenddata6",
                  logicalop: "and",
                  filter: [
                    {
                      fieldname: "recommendruid",
                      relationop: "=",
                      word: "tuijian",
                    },
                    {
                      fieldname: "creator",
                      relationop: "=",
                      word: {
                        item: [{ itemtype: "userinfo", value: "ruid" }],
                        defvalue: "xxx",
                      },
                    },
                    {
                      fieldname: "customercode",
                      relationop: "=",
                      logicalop: "AND",
                      word: [{ itemtype: "userinfo", value: "customercode" }],
                    },
                  ],
                },
              },
            ],
          },
          {
            type: "count",
            name: "本馆购买",
            fieldname: "RUID",
            filter: [
              {
                fieldname: "externallibdataebook.libtype",
                relationop: "=",
                word: {
                  item: [{ itemtype: "confinfo", value: "custlib" }],
                  defvalue: "xxx",
                },
              },
            ],
          },
          {
            type: "count",
            name: "我的不感兴趣",
            fieldname: "RUID",
            filter: [
              {
                fieldname: "2020041301",
                relationop: "=",
                word: [{ itemtype: "userinfo", value: "ruid" }],
              },
              {
                relationop: "join",
                join: {
                  type: "recommenddata6",
                  filter: [
                    {
                      fieldname: "creator",
                      relationop: "=",
                      word: {
                        item: [{ itemtype: "userinfo", value: "ruid" }],
                        defvalue: "xxx",
                      },
                    },
                    {
                      fieldname: "wfstatus",
                      relationop: "=",
                      word: "boring",
                    },
                  ],
                },
              },
            ],
          },
          {
            type: "count",
            name: "我的收藏",
            fieldname: "RUID",
            filter: [],
          },
          {
            type: "count",
            name: "我的书单",
            fieldname: "RUID",
            filter: [],
          },
        ],
      }).then((res) => {
        this.list = res;
        if (!res.aggs) {
          return;
        }
        res.aggs.forEach((item) => {
          this.titils.forEach((Element) => {
            if (item.name === Element) {
              this.newList.unshift(item);
            }
          });
        });
      });
    },
    xuza(index) {
      this.counts = index;
    },
    cartory(index) {
      this.countss = index;
      if (this.countss == "1") {
        getHome({
          pageno: 0,
          returndolist: "0",
          filter: [
            { fieldname: "dmcode", relationop: "=", word: 1987051001 },
            {
              fieldname: "20800002",
              relationop: ">=",
              word: "2",
              valuetype: "L",
            },
          ],
          mdcodes: "10100001,15900001",
          field: [
            {
              name: "题名",
              valueSource: "mdv",
              metadata: [{ metadataCode: "10100001" }],
            },
            {
              name: "封面",
              valueSource: "mdv",
              metadata: [{ metadataCode: "294750001" }],
            },
            {
              name: "中文译名",
              valueSource: "mdv",
              metadata: [{ metadataCode: "765451001" }],
            },
            {
              name: "责任者",
              valueSource: "mdv",
              metadata: [{ metadataCode: "15900001" }],
            },
            {
              name: "出版社",
              valueSource: "mdv",
              metadata: [{ metadataCode: "10400001" }],
            },
            {
              name: "出版时间",
              valueSource: "mdv",
              metadata: [{ metadataCode: "90000" }],
            },
            {
              name: "ISBN",
              valueSource: "mdv",
              metadata: [{ metadataCode: "281450001" }],
            },
            {
              name: "荐购次数",
              valueSource: "mdv",
              metadata: [{ metadataCode: "20800002" }],
            },
            {
              name: "简介",
              valueSource: "mdv",
              metadata: [{ metadataCode: "10700001" }],
            },
            {
              name: "丛编",
              valueSource: "mdv",
              metadata: [{ metadataCode: "281750001" }],
            },
            {
              name: "版次",
              valueSource: "mdv",
              metadata: [{ metadataCode: "2019102203" }],
            },
            {
              name: "页码",
              valueSource: "mdv",
              metadata: [{ metadataCode: "524100001" }],
            },
            {
              name: "语种",
              valueSource: "mdv",
              metadata: [{ metadataCode: "10800001" }],
            },
            {
              name: "纸书价格",
              valueSource: "mdv",
              metadata: [{ metadataCode: "170000" }],
            },
            {
              name: "中图法分类号",
              valueSource: "mdv",
              metadata: [{ metadataCode: "16400001" }],
            },
            {
              name: "主题",
              valueSource: "mdv",
              metadata: [{ metadataCode: "10600001" }],
            },
            {
              name: "作者简介",
              valueSource: "mdv",
              metadata: [{ metadataCode: "927603022" }],
            },
            {
              name: "不感兴趣用户",
              valueSource: "mdv",
              metadata: [{ metadataCode: "2020041301" }],
            },
            {
              name: "副题名",
              valueSource: "mdv",
              metadata: [{ metadataCode: "765351001" }],
            },
            {
              name: "豆瓣评分",
              valueSource: "mdv",
              metadata: [{ metadataCode: "2020022301" }],
            },
            {
              name: "收藏馆数量",
              valueSource: "mdv",
              metadata: [{ metadataCode: "2020051101" }],
            },
            {
              name: "价格",
              valueSource: "mdv",
              metadata: [{ metadataCode: "281850001" }],
            },
            {
              name: "出版年",
              valueSource: "mdv",
              metadata: [{ metadataCode: "10500021" }],
            },
            {
              name: "馆藏标识",
              valueSource: "mdv",
              metadata: [{ metadataCode: "20171015" }],
            },
            {
              name: "资源库标识",
              valueSource: "mdv",
              metadata: [{ metadataCode: "20171014" }],
            },
            {
              name: "目次",
              valueSource: "mdv",
              metadata: [{ metadataCode: "50" }],
            },
          ],
          aggs: [
            {
              type: "category",
              name: "中图法分类",
              pagesize: 1000,
              order: "OrdernoASC",
              classroot: "182693850009090bd3",
              mdcode: "331450001",
              delurlparam: "pn",
              selitemurlparam: "_aggztf",
              navlevel: 1,
              shownodata: "1",
              allwaysroot: 1,
            },
            {
              type: "category",
              name: "学科分类",
              pagesize: 1000,
              order: "OrdernoASC",
              classroot: "1ad180a50009a40bce",
              mdcode: "331440001",
              delurlparam: "pn",
              selitemurlparam: "_aggxk",
              navlevel: 1,
              shownodata: "1",
              allwaysroot: 1,
            },
            {
              type: "category",
              name: "新书上架",
              pagesize: 1000,
              order: "OrdernoASC",
              classroot: {
                item: [{ itemtype: "u", value: "gcclass" }],
                defvalue: "cate1",
              },
              mdcode: "2020040101",
              delurlparam: "pn",
              selitemurlparam: "_agggc",
              navlevel: 1,
              shownodata: "1",
              allwaysroot: 1,
            },
            {
              type: "mdvalue",
              name: "语种",
              pagesize: 100,
              order: "CountDESC",
              mdcode: "10800001",
              selitemurlparam: "_aggmdv_10800001",
              delurlparam: "pn",
            },
            {
              type: "mdvalue",
              name: "出版社",
              pagesize: 100,
              order: "CountDESC",
              mdcode: "10400001",
              selitemurlparam: "_aggmdv_10400001",
              delurlparam: "pn",
            },
            {
              type: "mdvalue",
              name: "作者",
              pagesize: 100,
              order: "CountDESC",
              mdcode: "15900001",
              selitemurlparam: "_aggmdv_15900001",
              delurlparam: "pn",
            },
            {
              type: "mdvalue",
              name: "主题词",
              pagesize: 100,
              order: "CountDESC",
              mdcode: "10600001",
              selitemurlparam: "_aggmdv_10600001",
              delurlparam: "pn",
            },
            {
              type: "mdvalue",
              name: "数据库",
              pagesize: 50,
              order: "CountDESC",
              mdcode: "20171014",
              selitemurlparam: "_aggmdv_20171014",
              delurlparam: "pn",
            },
            {
              type: "mdvalue",
              name: "标签",
              pagesize: 20,
              order: "CountDESC",
              mdcode: "2020051311",
              selitemurlparam: "bqname",
              delurlparam: "pn",
            },
          ],
          metrics: [
            {
              type: "count",
              name: "全部",
              fieldname: "RUID",
            },
            {
              type: "count",
              name: "Publisheds",
              fieldname: "RUID",
              filter: [
                {
                  fieldname: "10500021",
                  relationop: "=",
                  valuetype: "D",
                  word: [
                    {
                      itemtype: "edate",
                      value: {
                        base: "systime",
                        type: "year",
                        dif: "0",
                        pattern: "yyyy",
                      },
                    },
                  ],
                },
              ],
            },
            {
              type: "count",
              name: "PublishedLast",
              fieldname: "RUID",
              filter: [
                {
                  fieldname: "10500021",
                  relationop: "=",
                  valuetype: "D",
                  word: [
                    {
                      itemtype: "edate",
                      value: {
                        base: "systime",
                        type: "year",
                        dif: "-1",
                        pattern: "yyyy",
                      },
                    },
                  ],
                },
              ],
            },
            {
              type: "count",
              name: "beforePublication",
              fieldname: "RUID",
              filter: [
                {
                  fieldname: "10500021",
                  relationop: "=",
                  valuetype: "D",
                  word: [
                    {
                      itemtype: "edate",
                      value: {
                        base: "systime",
                        type: "year",
                        dif: "-2",
                        pattern: "yyyy",
                      },
                    },
                  ],
                },
              ],
            },
            {
              type: "count",
              name: "大前年出版",
              fieldname: "RUID",
              filter: [
                {
                  fieldname: "10500021",
                  relationop: "=",
                  valuetype: "D",
                  word: [
                    {
                      itemtype: "edate",
                      value: {
                        base: "systime",
                        type: "year",
                        dif: "-3",
                        pattern: "yyyy",
                      },
                    },
                  ],
                },
              ],
            },
            {
              type: "count",
              name: "大大前年出版",
              fieldname: "RUID",
              filter: [
                {
                  fieldname: "10500021",
                  relationop: "=",
                  valuetype: "D",
                  word: [
                    {
                      itemtype: "edate",
                      value: {
                        base: "systime",
                        type: "year",
                        dif: "-4",
                        pattern: "yyyy",
                      },
                    },
                  ],
                },
              ],
            },
            {
              type: "count",
              name: "热门推荐",
              fieldname: "RUID",
              filter: [
                {
                  fieldname: "20800002",
                  relationop: ">=",
                  word: "2",
                  valuetype: "L",
                },
              ],
            },
            {
              type: "count",
              name: "馆员推荐",
              fieldname: "RUID",
              filter: [
                {
                  relationop: "join",
                  join: {
                    type: "recommenddata6",
                    filter: [
                      {
                        fieldname: "recommendruid",
                        relationop: "=",
                        word: "tuijian",
                      },
                      {
                        fieldname: "siteid",
                        relationop: "=",
                        word: [{ itemtype: "userinfo", value: "siteid" }],
                      },
                      {
                        fieldname: "customercode",
                        logicalop: "and",
                        valuetype: "S",
                        relationop: "=",
                        word: [{ itemtype: "userinfo", value: "customercode" }],
                      },
                    ],
                  },
                },
              ],
            },
            {
              type: "count",
              name: "热评",
              fieldname: "RUID",
              filter: [
                {
                  fieldname: "2020022301",
                  relationop: ">",
                  word: "8",
                  valuetype: "L",
                },
              ],
            },
            {
              type: "count",
              name: "核心馆藏",
              fieldname: "RUID",
              filter: [
                {
                  fieldname: "2020051101",
                  relationop: ">",
                  word: "5",
                  valuetype: "L",
                },
              ],
            },
            {
              type: "count",
              name: "我的可荐购",
              fieldname: "RUID",
              filter: [
                {
                  fieldname: "externallibdataebook.libtype",
                  relationop: "=",
                  word: {
                    item: [{ itemtype: "confinfo", value: "recomlib" }],
                    defvalue: "xxx",
                  },
                },
              ],
            },
            {
              type: "count",
              name: "已荐购",
              fieldname: "RUID",
              filter: [
                {
                  relationop: "join",
                  join: {
                    type: "orderdata6",
                    logicalop: "and",
                    filter: [
                      {
                        fieldname: "recommenduserruid",
                        relationop: "=",
                        logicalop: "and",
                        word: {
                          item: [{ itemtype: "userinfo", value: "ruid" }],
                          defvalue: "xxx",
                        },
                      },
                      {
                        fieldname: "customercode",
                        relationop: "=",
                        logicalop: "AND",
                        word: [{ itemtype: "userinfo", value: "customercode" }],
                      },
                    ],
                  },
                },
                {
                  fieldname: "2020041301",
                  relationop: "!=",
                  word: [{ itemtype: "userinfo", value: "ruid" }],
                },
              ],
            },
            {
              type: "count",
              name: "我的推荐",
              fieldname: "RUID",
              filter: [
                {
                  relationop: "join",
                  join: {
                    type: "recommenddata6",
                    logicalop: "and",
                    filter: [
                      {
                        fieldname: "recommendruid",
                        relationop: "=",
                        word: "tuijian",
                      },
                      {
                        fieldname: "creator",
                        relationop: "=",
                        word: {
                          item: [{ itemtype: "userinfo", value: "ruid" }],
                          defvalue: "xxx",
                        },
                      },
                      {
                        fieldname: "customercode",
                        relationop: "=",
                        logicalop: "AND",
                        word: [{ itemtype: "userinfo", value: "customercode" }],
                      },
                    ],
                  },
                },
              ],
            },
            {
              type: "count",
              name: "本馆购买",
              fieldname: "RUID",
              filter: [
                {
                  fieldname: "externallibdataebook.libtype",
                  relationop: "=",
                  word: {
                    item: [{ itemtype: "confinfo", value: "custlib" }],
                    defvalue: "xxx",
                  },
                },
              ],
            },
            {
              type: "count",
              name: "我的不感兴趣",
              fieldname: "RUID",
              filter: [
                {
                  fieldname: "2020041301",
                  relationop: "=",
                  word: [{ itemtype: "userinfo", value: "ruid" }],
                },
                {
                  relationop: "join",
                  join: {
                    type: "recommenddata6",
                    filter: [
                      {
                        fieldname: "creator",
                        relationop: "=",
                        word: {
                          item: [{ itemtype: "userinfo", value: "ruid" }],
                          defvalue: "xxx",
                        },
                      },
                      {
                        fieldname: "wfstatus",
                        relationop: "=",
                        word: "boring",
                      },
                    ],
                  },
                },
              ],
            },
            {
              type: "count",
              name: "我的收藏",
              fieldname: "RUID",
              filter: [],
            },
            {
              type: "count",
              name: "我的书单",
              fieldname: "RUID",
              filter: [],
            },
          ],
        }).then((res) => {
          this.list = res;

          if (!res.aggs) {
            return;
          }
          res.aggs.forEach((item) => {
            this.titils.forEach((Element) => {
              if (item.name === Element) {
                this.newList.push(item);
              }
            });
          });
        });
      }
    },
    KeyIndex(index) {
      this.Keys = index;
    },
    shujk(data) {
      this.Shujk.push(data.id);
      if (this.arr.includes(data.index)) {
        this.arr = this.arr.filter(function (ele) {
          return ele != data.index;
        });
      } else {
        this.arr.push(data.index);
      }
      getHome({
        pageno: 0,
        returndolist: "0",
        filter: [
          { fieldname: "dmcode", relationop: "=", word: 1987051001 },
          {
            fieldname: "20171014",
            relationop: "in",
            word: this.Shujk.toString(),
          },
        ],
        mdcodes: "10100001,15900001",
        field: [
          {
            name: "题名",
            valueSource: "mdv",
            metadata: [{ metadataCode: "10100001" }],
          },
          {
            name: "封面",
            valueSource: "mdv",
            metadata: [{ metadataCode: "294750001" }],
          },
          {
            name: "中文译名",
            valueSource: "mdv",
            metadata: [{ metadataCode: "765451001" }],
          },
          {
            name: "责任者",
            valueSource: "mdv",
            metadata: [{ metadataCode: "15900001" }],
          },
          {
            name: "出版社",
            valueSource: "mdv",
            metadata: [{ metadataCode: "10400001" }],
          },
          {
            name: "出版时间",
            valueSource: "mdv",
            metadata: [{ metadataCode: "90000" }],
          },
          {
            name: "ISBN",
            valueSource: "mdv",
            metadata: [{ metadataCode: "281450001" }],
          },
          {
            name: "荐购次数",
            valueSource: "mdv",
            metadata: [{ metadataCode: "20800002" }],
          },
          {
            name: "简介",
            valueSource: "mdv",
            metadata: [{ metadataCode: "10700001" }],
          },
          {
            name: "丛编",
            valueSource: "mdv",
            metadata: [{ metadataCode: "281750001" }],
          },
          {
            name: "版次",
            valueSource: "mdv",
            metadata: [{ metadataCode: "2019102203" }],
          },
          {
            name: "页码",
            valueSource: "mdv",
            metadata: [{ metadataCode: "524100001" }],
          },
          {
            name: "语种",
            valueSource: "mdv",
            metadata: [{ metadataCode: "10800001" }],
          },
          {
            name: "纸书价格",
            valueSource: "mdv",
            metadata: [{ metadataCode: "170000" }],
          },
          {
            name: "中图法分类号",
            valueSource: "mdv",
            metadata: [{ metadataCode: "16400001" }],
          },
          {
            name: "主题",
            valueSource: "mdv",
            metadata: [{ metadataCode: "10600001" }],
          },
          {
            name: "作者简介",
            valueSource: "mdv",
            metadata: [{ metadataCode: "927603022" }],
          },
          {
            name: "不感兴趣用户",
            valueSource: "mdv",
            metadata: [{ metadataCode: "2020041301" }],
          },
          {
            name: "副题名",
            valueSource: "mdv",
            metadata: [{ metadataCode: "765351001" }],
          },
          {
            name: "豆瓣评分",
            valueSource: "mdv",
            metadata: [{ metadataCode: "2020022301" }],
          },
          {
            name: "收藏馆数量",
            valueSource: "mdv",
            metadata: [{ metadataCode: "2020051101" }],
          },
          {
            name: "价格",
            valueSource: "mdv",
            metadata: [{ metadataCode: "281850001" }],
          },
          {
            name: "出版年",
            valueSource: "mdv",
            metadata: [{ metadataCode: "10500021" }],
          },
          {
            name: "馆藏标识",
            valueSource: "mdv",
            metadata: [{ metadataCode: "20171015" }],
          },
          {
            name: "资源库标识",
            valueSource: "mdv",
            metadata: [{ metadataCode: "20171014" }],
          },
          {
            name: "目次",
            valueSource: "mdv",
            metadata: [{ metadataCode: "50" }],
          },
        ],
        aggs: [
          {
            type: "category",
            name: "中图法分类",
            pagesize: 1000,
            order: "OrdernoASC",
            classroot: "182693850009090bd3",
            mdcode: "331450001",
            delurlparam: "pn",
            selitemurlparam: "_aggztf",
            navlevel: 1,
            shownodata: "1",
            allwaysroot: 1,
          },
          {
            type: "category",
            name: "学科分类",
            pagesize: 1000,
            order: "OrdernoASC",
            classroot: "1ad180a50009a40bce",
            mdcode: "331440001",
            delurlparam: "pn",
            selitemurlparam: "_aggxk",
            navlevel: 1,
            shownodata: "1",
            allwaysroot: 1,
          },
          {
            type: "category",
            name: "新书上架",
            pagesize: 1000,
            order: "OrdernoASC",
            classroot: {
              item: [{ itemtype: "u", value: "gcclass" }],
              defvalue: "cate1",
            },
            mdcode: "2020040101",
            delurlparam: "pn",
            selitemurlparam: "_agggc",
            navlevel: 1,
            shownodata: "1",
            allwaysroot: 1,
          },
          {
            type: "mdvalue",
            name: "语种",
            pagesize: 100,
            order: "CountDESC",
            mdcode: "10800001",
            selitemurlparam: "_aggmdv_10800001",
            delurlparam: "pn",
          },
          {
            type: "mdvalue",
            name: "出版社",
            pagesize: 100,
            order: "CountDESC",
            mdcode: "10400001",
            selitemurlparam: "_aggmdv_10400001",
            delurlparam: "pn",
          },
          {
            type: "mdvalue",
            name: "作者",
            pagesize: 100,
            order: "CountDESC",
            mdcode: "15900001",
            selitemurlparam: "_aggmdv_15900001",
            delurlparam: "pn",
          },
          {
            type: "mdvalue",
            name: "主题词",
            pagesize: 100,
            order: "CountDESC",
            mdcode: "10600001",
            selitemurlparam: "_aggmdv_10600001",
            delurlparam: "pn",
          },
          {
            type: "mdvalue",
            name: "数据库",
            pagesize: 50,
            order: "CountDESC",
            mdcode: "20171014",
            selitemurlparam: "_aggmdv_20171014",
            delurlparam: "pn",
          },
          {
            type: "mdvalue",
            name: "标签",
            pagesize: 20,
            order: "CountDESC",
            mdcode: "2020051311",
            selitemurlparam: "bqname",
            delurlparam: "pn",
          },
        ],
        metrics: [
          {
            type: "count",
            name: "全部",
            fieldname: "RUID",
          },
          {
            type: "count",
            name: "Publisheds",
            fieldname: "RUID",
            filter: [
              {
                fieldname: "10500021",
                relationop: "=",
                valuetype: "D",
                word: [
                  {
                    itemtype: "edate",
                    value: {
                      base: "systime",
                      type: "year",
                      dif: "0",
                      pattern: "yyyy",
                    },
                  },
                ],
              },
            ],
          },
          {
            type: "count",
            name: "PublishedLast",
            fieldname: "RUID",
            filter: [
              {
                fieldname: "10500021",
                relationop: "=",
                valuetype: "D",
                word: [
                  {
                    itemtype: "edate",
                    value: {
                      base: "systime",
                      type: "year",
                      dif: "-1",
                      pattern: "yyyy",
                    },
                  },
                ],
              },
            ],
          },
          {
            type: "count",
            name: "beforePublication",
            fieldname: "RUID",
            filter: [
              {
                fieldname: "10500021",
                relationop: "=",
                valuetype: "D",
                word: [
                  {
                    itemtype: "edate",
                    value: {
                      base: "systime",
                      type: "year",
                      dif: "-2",
                      pattern: "yyyy",
                    },
                  },
                ],
              },
            ],
          },
          {
            type: "count",
            name: "大前年出版",
            fieldname: "RUID",
            filter: [
              {
                fieldname: "10500021",
                relationop: "=",
                valuetype: "D",
                word: [
                  {
                    itemtype: "edate",
                    value: {
                      base: "systime",
                      type: "year",
                      dif: "-3",
                      pattern: "yyyy",
                    },
                  },
                ],
              },
            ],
          },
          {
            type: "count",
            name: "大大前年出版",
            fieldname: "RUID",
            filter: [
              {
                fieldname: "10500021",
                relationop: "=",
                valuetype: "D",
                word: [
                  {
                    itemtype: "edate",
                    value: {
                      base: "systime",
                      type: "year",
                      dif: "-4",
                      pattern: "yyyy",
                    },
                  },
                ],
              },
            ],
          },
          {
            type: "count",
            name: "热门推荐",
            fieldname: "RUID",
            filter: [
              {
                fieldname: "20800002",
                relationop: ">=",
                word: "2",
                valuetype: "L",
              },
            ],
          },
          {
            type: "count",
            name: "馆员推荐",
            fieldname: "RUID",
            filter: [
              {
                relationop: "join",
                join: {
                  type: "recommenddata6",
                  filter: [
                    {
                      fieldname: "recommendruid",
                      relationop: "=",
                      word: "tuijian",
                    },
                    {
                      fieldname: "siteid",
                      relationop: "=",
                      word: [{ itemtype: "userinfo", value: "siteid" }],
                    },
                    {
                      fieldname: "customercode",
                      logicalop: "and",
                      valuetype: "S",
                      relationop: "=",
                      word: [{ itemtype: "userinfo", value: "customercode" }],
                    },
                  ],
                },
              },
            ],
          },
          {
            type: "count",
            name: "热评",
            fieldname: "RUID",
            filter: [
              {
                fieldname: "2020022301",
                relationop: ">",
                word: "8",
                valuetype: "L",
              },
            ],
          },
          {
            type: "count",
            name: "核心馆藏",
            fieldname: "RUID",
            filter: [
              {
                fieldname: "2020051101",
                relationop: ">",
                word: "5",
                valuetype: "L",
              },
            ],
          },
          {
            type: "count",
            name: "我的可荐购",
            fieldname: "RUID",
            filter: [
              {
                fieldname: "externallibdataebook.libtype",
                relationop: "=",
                word: {
                  item: [{ itemtype: "confinfo", value: "recomlib" }],
                  defvalue: "xxx",
                },
              },
            ],
          },
          {
            type: "count",
            name: "已荐购",
            fieldname: "RUID",
            filter: [
              {
                relationop: "join",
                join: {
                  type: "orderdata6",
                  logicalop: "and",
                  filter: [
                    {
                      fieldname: "recommenduserruid",
                      relationop: "=",
                      logicalop: "and",
                      word: {
                        item: [{ itemtype: "userinfo", value: "ruid" }],
                        defvalue: "xxx",
                      },
                    },
                    {
                      fieldname: "customercode",
                      relationop: "=",
                      logicalop: "AND",
                      word: [{ itemtype: "userinfo", value: "customercode" }],
                    },
                  ],
                },
              },
              {
                fieldname: "2020041301",
                relationop: "!=",
                word: [{ itemtype: "userinfo", value: "ruid" }],
              },
            ],
          },
          {
            type: "count",
            name: "我的推荐",
            fieldname: "RUID",
            filter: [
              {
                relationop: "join",
                join: {
                  type: "recommenddata6",
                  logicalop: "and",
                  filter: [
                    {
                      fieldname: "recommendruid",
                      relationop: "=",
                      word: "tuijian",
                    },
                    {
                      fieldname: "creator",
                      relationop: "=",
                      word: {
                        item: [{ itemtype: "userinfo", value: "ruid" }],
                        defvalue: "xxx",
                      },
                    },
                    {
                      fieldname: "customercode",
                      relationop: "=",
                      logicalop: "AND",
                      word: [{ itemtype: "userinfo", value: "customercode" }],
                    },
                  ],
                },
              },
            ],
          },
          {
            type: "count",
            name: "本馆购买",
            fieldname: "RUID",
            filter: [
              {
                fieldname: "externallibdataebook.libtype",
                relationop: "=",
                word: {
                  item: [{ itemtype: "confinfo", value: "custlib" }],
                  defvalue: "xxx",
                },
              },
            ],
          },
          {
            type: "count",
            name: "我的不感兴趣",
            fieldname: "RUID",
            filter: [
              {
                fieldname: "2020041301",
                relationop: "=",
                word: [{ itemtype: "userinfo", value: "ruid" }],
              },
              {
                relationop: "join",
                join: {
                  type: "recommenddata6",
                  filter: [
                    {
                      fieldname: "creator",
                      relationop: "=",
                      word: {
                        item: [{ itemtype: "userinfo", value: "ruid" }],
                        defvalue: "xxx",
                      },
                    },
                    {
                      fieldname: "wfstatus",
                      relationop: "=",
                      word: "boring",
                    },
                  ],
                },
              },
            ],
          },
          {
            type: "count",
            name: "我的收藏",
            fieldname: "RUID",
            filter: [],
          },
          {
            type: "count",
            name: "我的书单",
            fieldname: "RUID",
            filter: [],
          },
        ],
      }).then((res) => {
        this.list = res;

        if (!res.aggs) {
          return;
        }
        res.aggs.forEach((item) => {
          this.titils.forEach((Element) => {
            if (item.name === Element) {
              this.newList.push(item);
            }
          });
        });
      });
    },

    zuoz(id) {
      this.zuozs.push(id);
      getHome({
        pageno: 0,
        returndolist: "0",
        filter: [
          { fieldname: "dmcode", relationop: "=", word: 1987051001 },
          {
            fieldname: "10400001",
            relationop: "in",
            word: this.zuozs.toString(),
          },
        ],
        mdcodes: "10100001,15900001",
        field: [
          {
            name: "题名",
            valueSource: "mdv",
            metadata: [{ metadataCode: "10100001" }],
          },
          {
            name: "封面",
            valueSource: "mdv",
            metadata: [{ metadataCode: "294750001" }],
          },
          {
            name: "中文译名",
            valueSource: "mdv",
            metadata: [{ metadataCode: "765451001" }],
          },
          {
            name: "责任者",
            valueSource: "mdv",
            metadata: [{ metadataCode: "15900001" }],
          },
          {
            name: "出版社",
            valueSource: "mdv",
            metadata: [{ metadataCode: "10400001" }],
          },
          {
            name: "出版时间",
            valueSource: "mdv",
            metadata: [{ metadataCode: "90000" }],
          },
          {
            name: "ISBN",
            valueSource: "mdv",
            metadata: [{ metadataCode: "281450001" }],
          },
          {
            name: "荐购次数",
            valueSource: "mdv",
            metadata: [{ metadataCode: "20800002" }],
          },
          {
            name: "简介",
            valueSource: "mdv",
            metadata: [{ metadataCode: "10700001" }],
          },
          {
            name: "丛编",
            valueSource: "mdv",
            metadata: [{ metadataCode: "281750001" }],
          },
          {
            name: "版次",
            valueSource: "mdv",
            metadata: [{ metadataCode: "2019102203" }],
          },
          {
            name: "页码",
            valueSource: "mdv",
            metadata: [{ metadataCode: "524100001" }],
          },
          {
            name: "语种",
            valueSource: "mdv",
            metadata: [{ metadataCode: "10800001" }],
          },
          {
            name: "纸书价格",
            valueSource: "mdv",
            metadata: [{ metadataCode: "170000" }],
          },
          {
            name: "中图法分类号",
            valueSource: "mdv",
            metadata: [{ metadataCode: "16400001" }],
          },
          {
            name: "主题",
            valueSource: "mdv",
            metadata: [{ metadataCode: "10600001" }],
          },
          {
            name: "作者简介",
            valueSource: "mdv",
            metadata: [{ metadataCode: "927603022" }],
          },
          {
            name: "不感兴趣用户",
            valueSource: "mdv",
            metadata: [{ metadataCode: "2020041301" }],
          },
          {
            name: "副题名",
            valueSource: "mdv",
            metadata: [{ metadataCode: "765351001" }],
          },
          {
            name: "豆瓣评分",
            valueSource: "mdv",
            metadata: [{ metadataCode: "2020022301" }],
          },
          {
            name: "收藏馆数量",
            valueSource: "mdv",
            metadata: [{ metadataCode: "2020051101" }],
          },
          {
            name: "价格",
            valueSource: "mdv",
            metadata: [{ metadataCode: "281850001" }],
          },
          {
            name: "出版年",
            valueSource: "mdv",
            metadata: [{ metadataCode: "10500021" }],
          },
          {
            name: "馆藏标识",
            valueSource: "mdv",
            metadata: [{ metadataCode: "20171015" }],
          },
          {
            name: "资源库标识",
            valueSource: "mdv",
            metadata: [{ metadataCode: "20171014" }],
          },
          {
            name: "目次",
            valueSource: "mdv",
            metadata: [{ metadataCode: "50" }],
          },
        ],
        aggs: [
          {
            type: "category",
            name: "中图法分类",
            pagesize: 1000,
            order: "OrdernoASC",
            classroot: "182693850009090bd3",
            mdcode: "331450001",
            delurlparam: "pn",
            selitemurlparam: "_aggztf",
            navlevel: 1,
            shownodata: "1",
            allwaysroot: 1,
          },
          {
            type: "category",
            name: "学科分类",
            pagesize: 1000,
            order: "OrdernoASC",
            classroot: "1ad180a50009a40bce",
            mdcode: "331440001",
            delurlparam: "pn",
            selitemurlparam: "_aggxk",
            navlevel: 1,
            shownodata: "1",
            allwaysroot: 1,
          },
          {
            type: "category",
            name: "新书上架",
            pagesize: 1000,
            order: "OrdernoASC",
            classroot: {
              item: [{ itemtype: "u", value: "gcclass" }],
              defvalue: "cate1",
            },
            mdcode: "2020040101",
            delurlparam: "pn",
            selitemurlparam: "_agggc",
            navlevel: 1,
            shownodata: "1",
            allwaysroot: 1,
          },
          {
            type: "mdvalue",
            name: "语种",
            pagesize: 100,
            order: "CountDESC",
            mdcode: "10800001",
            selitemurlparam: "_aggmdv_10800001",
            delurlparam: "pn",
          },
          {
            type: "mdvalue",
            name: "出版社",
            pagesize: 100,
            order: "CountDESC",
            mdcode: "10400001",
            selitemurlparam: "_aggmdv_10400001",
            delurlparam: "pn",
          },
          {
            type: "mdvalue",
            name: "作者",
            pagesize: 100,
            order: "CountDESC",
            mdcode: "15900001",
            selitemurlparam: "_aggmdv_15900001",
            delurlparam: "pn",
          },
          {
            type: "mdvalue",
            name: "主题词",
            pagesize: 100,
            order: "CountDESC",
            mdcode: "10600001",
            selitemurlparam: "_aggmdv_10600001",
            delurlparam: "pn",
          },
          {
            type: "mdvalue",
            name: "数据库",
            pagesize: 50,
            order: "CountDESC",
            mdcode: "20171014",
            selitemurlparam: "_aggmdv_20171014",
            delurlparam: "pn",
          },
          {
            type: "mdvalue",
            name: "标签",
            pagesize: 20,
            order: "CountDESC",
            mdcode: "2020051311",
            selitemurlparam: "bqname",
            delurlparam: "pn",
          },
        ],
        metrics: [
          {
            type: "count",
            name: "全部",
            fieldname: "RUID",
          },
          {
            type: "count",
            name: "Publisheds",
            fieldname: "RUID",
            filter: [
              {
                fieldname: "10500021",
                relationop: "=",
                valuetype: "D",
                word: [
                  {
                    itemtype: "edate",
                    value: {
                      base: "systime",
                      type: "year",
                      dif: "0",
                      pattern: "yyyy",
                    },
                  },
                ],
              },
            ],
          },
          {
            type: "count",
            name: "PublishedLast",
            fieldname: "RUID",
            filter: [
              {
                fieldname: "10500021",
                relationop: "=",
                valuetype: "D",
                word: [
                  {
                    itemtype: "edate",
                    value: {
                      base: "systime",
                      type: "year",
                      dif: "-1",
                      pattern: "yyyy",
                    },
                  },
                ],
              },
            ],
          },
          {
            type: "count",
            name: "beforePublication",
            fieldname: "RUID",
            filter: [
              {
                fieldname: "10500021",
                relationop: "=",
                valuetype: "D",
                word: [
                  {
                    itemtype: "edate",
                    value: {
                      base: "systime",
                      type: "year",
                      dif: "-2",
                      pattern: "yyyy",
                    },
                  },
                ],
              },
            ],
          },
          {
            type: "count",
            name: "大前年出版",
            fieldname: "RUID",
            filter: [
              {
                fieldname: "10500021",
                relationop: "=",
                valuetype: "D",
                word: [
                  {
                    itemtype: "edate",
                    value: {
                      base: "systime",
                      type: "year",
                      dif: "-3",
                      pattern: "yyyy",
                    },
                  },
                ],
              },
            ],
          },
          {
            type: "count",
            name: "大大前年出版",
            fieldname: "RUID",
            filter: [
              {
                fieldname: "10500021",
                relationop: "=",
                valuetype: "D",
                word: [
                  {
                    itemtype: "edate",
                    value: {
                      base: "systime",
                      type: "year",
                      dif: "-4",
                      pattern: "yyyy",
                    },
                  },
                ],
              },
            ],
          },
          {
            type: "count",
            name: "热门推荐",
            fieldname: "RUID",
            filter: [
              {
                fieldname: "20800002",
                relationop: ">=",
                word: "2",
                valuetype: "L",
              },
            ],
          },
          {
            type: "count",
            name: "馆员推荐",
            fieldname: "RUID",
            filter: [
              {
                relationop: "join",
                join: {
                  type: "recommenddata6",
                  filter: [
                    {
                      fieldname: "recommendruid",
                      relationop: "=",
                      word: "tuijian",
                    },
                    {
                      fieldname: "siteid",
                      relationop: "=",
                      word: [{ itemtype: "userinfo", value: "siteid" }],
                    },
                    {
                      fieldname: "customercode",
                      logicalop: "and",
                      valuetype: "S",
                      relationop: "=",
                      word: [{ itemtype: "userinfo", value: "customercode" }],
                    },
                  ],
                },
              },
            ],
          },
          {
            type: "count",
            name: "热评",
            fieldname: "RUID",
            filter: [
              {
                fieldname: "2020022301",
                relationop: ">",
                word: "8",
                valuetype: "L",
              },
            ],
          },
          {
            type: "count",
            name: "核心馆藏",
            fieldname: "RUID",
            filter: [
              {
                fieldname: "2020051101",
                relationop: ">",
                word: "5",
                valuetype: "L",
              },
            ],
          },
          {
            type: "count",
            name: "我的可荐购",
            fieldname: "RUID",
            filter: [
              {
                fieldname: "externallibdataebook.libtype",
                relationop: "=",
                word: {
                  item: [{ itemtype: "confinfo", value: "recomlib" }],
                  defvalue: "xxx",
                },
              },
            ],
          },
          {
            type: "count",
            name: "已荐购",
            fieldname: "RUID",
            filter: [
              {
                relationop: "join",
                join: {
                  type: "orderdata6",
                  logicalop: "and",
                  filter: [
                    {
                      fieldname: "recommenduserruid",
                      relationop: "=",
                      logicalop: "and",
                      word: {
                        item: [{ itemtype: "userinfo", value: "ruid" }],
                        defvalue: "xxx",
                      },
                    },
                    {
                      fieldname: "customercode",
                      relationop: "=",
                      logicalop: "AND",
                      word: [{ itemtype: "userinfo", value: "customercode" }],
                    },
                  ],
                },
              },
              {
                fieldname: "2020041301",
                relationop: "!=",
                word: [{ itemtype: "userinfo", value: "ruid" }],
              },
            ],
          },
          {
            type: "count",
            name: "我的推荐",
            fieldname: "RUID",
            filter: [
              {
                relationop: "join",
                join: {
                  type: "recommenddata6",
                  logicalop: "and",
                  filter: [
                    {
                      fieldname: "recommendruid",
                      relationop: "=",
                      word: "tuijian",
                    },
                    {
                      fieldname: "creator",
                      relationop: "=",
                      word: {
                        item: [{ itemtype: "userinfo", value: "ruid" }],
                        defvalue: "xxx",
                      },
                    },
                    {
                      fieldname: "customercode",
                      relationop: "=",
                      logicalop: "AND",
                      word: [{ itemtype: "userinfo", value: "customercode" }],
                    },
                  ],
                },
              },
            ],
          },
          {
            type: "count",
            name: "本馆购买",
            fieldname: "RUID",
            filter: [
              {
                fieldname: "externallibdataebook.libtype",
                relationop: "=",
                word: {
                  item: [{ itemtype: "confinfo", value: "custlib" }],
                  defvalue: "xxx",
                },
              },
            ],
          },
          {
            type: "count",
            name: "我的不感兴趣",
            fieldname: "RUID",
            filter: [
              {
                fieldname: "2020041301",
                relationop: "=",
                word: [{ itemtype: "userinfo", value: "ruid" }],
              },
              {
                relationop: "join",
                join: {
                  type: "recommenddata6",
                  filter: [
                    {
                      fieldname: "creator",
                      relationop: "=",
                      word: {
                        item: [{ itemtype: "userinfo", value: "ruid" }],
                        defvalue: "xxx",
                      },
                    },
                    {
                      fieldname: "wfstatus",
                      relationop: "=",
                      word: "boring",
                    },
                  ],
                },
              },
            ],
          },
          {
            type: "count",
            name: "我的收藏",
            fieldname: "RUID",
            filter: [],
          },
          {
            type: "count",
            name: "我的书单",
            fieldname: "RUID",
            filter: [],
          },
        ],
      }).then((res) => {
        this.list = res;

        if (!res.aggs) {
          return;
        }
        res.aggs.forEach((item) => {
          this.titils.forEach((Element) => {
            if (item.name === Element) {
              this.newList.push(item);
            }
          });
        });
      });
    },
    SerchName(name) {
      if (name == "题名") {
        getHome({
          pageno: 0,
          returndolist: "0",
          filter: [
            { fieldname: "dmcode", relationop: "=", word: 1987051001 },
            {
              fieldname: "15900001",
              relationop: "like",
              word: this.name,
            },
          ],
          mdcodes: "10100001,15900001",
          field: [
            {
              name: "题名",
              valueSource: "mdv",
              metadata: [{ metadataCode: "10100001" }],
            },
            {
              name: "封面",
              valueSource: "mdv",
              metadata: [{ metadataCode: "294750001" }],
            },
            {
              name: "中文译名",
              valueSource: "mdv",
              metadata: [{ metadataCode: "765451001" }],
            },
            {
              name: "责任者",
              valueSource: "mdv",
              metadata: [{ metadataCode: "15900001" }],
            },
            {
              name: "出版社",
              valueSource: "mdv",
              metadata: [{ metadataCode: "10400001" }],
            },
            {
              name: "出版时间",
              valueSource: "mdv",
              metadata: [{ metadataCode: "90000" }],
            },
            {
              name: "ISBN",
              valueSource: "mdv",
              metadata: [{ metadataCode: "281450001" }],
            },
            {
              name: "荐购次数",
              valueSource: "mdv",
              metadata: [{ metadataCode: "20800002" }],
            },
            {
              name: "简介",
              valueSource: "mdv",
              metadata: [{ metadataCode: "10700001" }],
            },
            {
              name: "丛编",
              valueSource: "mdv",
              metadata: [{ metadataCode: "281750001" }],
            },
            {
              name: "版次",
              valueSource: "mdv",
              metadata: [{ metadataCode: "2019102203" }],
            },
            {
              name: "页码",
              valueSource: "mdv",
              metadata: [{ metadataCode: "524100001" }],
            },
            {
              name: "语种",
              valueSource: "mdv",
              metadata: [{ metadataCode: "10800001" }],
            },
            {
              name: "纸书价格",
              valueSource: "mdv",
              metadata: [{ metadataCode: "170000" }],
            },
            {
              name: "中图法分类号",
              valueSource: "mdv",
              metadata: [{ metadataCode: "16400001" }],
            },
            {
              name: "主题",
              valueSource: "mdv",
              metadata: [{ metadataCode: "10600001" }],
            },
            {
              name: "作者简介",
              valueSource: "mdv",
              metadata: [{ metadataCode: "927603022" }],
            },
            {
              name: "不感兴趣用户",
              valueSource: "mdv",
              metadata: [{ metadataCode: "2020041301" }],
            },
            {
              name: "副题名",
              valueSource: "mdv",
              metadata: [{ metadataCode: "765351001" }],
            },
            {
              name: "豆瓣评分",
              valueSource: "mdv",
              metadata: [{ metadataCode: "2020022301" }],
            },
            {
              name: "收藏馆数量",
              valueSource: "mdv",
              metadata: [{ metadataCode: "2020051101" }],
            },
            {
              name: "价格",
              valueSource: "mdv",
              metadata: [{ metadataCode: "281850001" }],
            },
            {
              name: "出版年",
              valueSource: "mdv",
              metadata: [{ metadataCode: "10500021" }],
            },
            {
              name: "馆藏标识",
              valueSource: "mdv",
              metadata: [{ metadataCode: "20171015" }],
            },
            {
              name: "资源库标识",
              valueSource: "mdv",
              metadata: [{ metadataCode: "20171014" }],
            },
            {
              name: "目次",
              valueSource: "mdv",
              metadata: [{ metadataCode: "50" }],
            },
          ],
          aggs: [
            {
              type: "category",
              name: "中图法分类",
              pagesize: 1000,
              order: "OrdernoASC",
              classroot: "182693850009090bd3",
              mdcode: "331450001",
              delurlparam: "pn",
              selitemurlparam: "_aggztf",
              navlevel: 1,
              shownodata: "1",
              allwaysroot: 1,
            },
            {
              type: "category",
              name: "学科分类",
              pagesize: 1000,
              order: "OrdernoASC",
              classroot: "1ad180a50009a40bce",
              mdcode: "331440001",
              delurlparam: "pn",
              selitemurlparam: "_aggxk",
              navlevel: 1,
              shownodata: "1",
              allwaysroot: 1,
            },
            {
              type: "category",
              name: "新书上架",
              pagesize: 1000,
              order: "OrdernoASC",
              classroot: {
                item: [{ itemtype: "u", value: "gcclass" }],
                defvalue: "cate1",
              },
              mdcode: "2020040101",
              delurlparam: "pn",
              selitemurlparam: "_agggc",
              navlevel: 1,
              shownodata: "1",
              allwaysroot: 1,
            },
            {
              type: "mdvalue",
              name: "语种",
              pagesize: 100,
              order: "CountDESC",
              mdcode: "10800001",
              selitemurlparam: "_aggmdv_10800001",
              delurlparam: "pn",
            },
            {
              type: "mdvalue",
              name: "出版社",
              pagesize: 100,
              order: "CountDESC",
              mdcode: "10400001",
              selitemurlparam: "_aggmdv_10400001",
              delurlparam: "pn",
            },
            {
              type: "mdvalue",
              name: "作者",
              pagesize: 100,
              order: "CountDESC",
              mdcode: "15900001",
              selitemurlparam: "_aggmdv_15900001",
              delurlparam: "pn",
            },
            {
              type: "mdvalue",
              name: "主题词",
              pagesize: 100,
              order: "CountDESC",
              mdcode: "10600001",
              selitemurlparam: "_aggmdv_10600001",
              delurlparam: "pn",
            },
            {
              type: "mdvalue",
              name: "数据库",
              pagesize: 50,
              order: "CountDESC",
              mdcode: "20171014",
              selitemurlparam: "_aggmdv_20171014",
              delurlparam: "pn",
            },
            {
              type: "mdvalue",
              name: "标签",
              pagesize: 20,
              order: "CountDESC",
              mdcode: "2020051311",
              selitemurlparam: "bqname",
              delurlparam: "pn",
            },
          ],
          metrics: [
            {
              type: "count",
              name: "全部",
              fieldname: "RUID",
            },
            {
              type: "count",
              name: "Publisheds",
              fieldname: "RUID",
              filter: [
                {
                  fieldname: "10500021",
                  relationop: "=",
                  valuetype: "D",
                  word: [
                    {
                      itemtype: "edate",
                      value: {
                        base: "systime",
                        type: "year",
                        dif: "0",
                        pattern: "yyyy",
                      },
                    },
                  ],
                },
              ],
            },
            {
              type: "count",
              name: "PublishedLast",
              fieldname: "RUID",
              filter: [
                {
                  fieldname: "10500021",
                  relationop: "=",
                  valuetype: "D",
                  word: [
                    {
                      itemtype: "edate",
                      value: {
                        base: "systime",
                        type: "year",
                        dif: "-1",
                        pattern: "yyyy",
                      },
                    },
                  ],
                },
              ],
            },
            {
              type: "count",
              name: "beforePublication",
              fieldname: "RUID",
              filter: [
                {
                  fieldname: "10500021",
                  relationop: "=",
                  valuetype: "D",
                  word: [
                    {
                      itemtype: "edate",
                      value: {
                        base: "systime",
                        type: "year",
                        dif: "-2",
                        pattern: "yyyy",
                      },
                    },
                  ],
                },
              ],
            },
            {
              type: "count",
              name: "大前年出版",
              fieldname: "RUID",
              filter: [
                {
                  fieldname: "10500021",
                  relationop: "=",
                  valuetype: "D",
                  word: [
                    {
                      itemtype: "edate",
                      value: {
                        base: "systime",
                        type: "year",
                        dif: "-3",
                        pattern: "yyyy",
                      },
                    },
                  ],
                },
              ],
            },
            {
              type: "count",
              name: "大大前年出版",
              fieldname: "RUID",
              filter: [
                {
                  fieldname: "10500021",
                  relationop: "=",
                  valuetype: "D",
                  word: [
                    {
                      itemtype: "edate",
                      value: {
                        base: "systime",
                        type: "year",
                        dif: "-4",
                        pattern: "yyyy",
                      },
                    },
                  ],
                },
              ],
            },
            {
              type: "count",
              name: "热门推荐",
              fieldname: "RUID",
              filter: [
                {
                  fieldname: "20800002",
                  relationop: ">=",
                  word: "2",
                  valuetype: "L",
                },
              ],
            },
            {
              type: "count",
              name: "馆员推荐",
              fieldname: "RUID",
              filter: [
                {
                  relationop: "join",
                  join: {
                    type: "recommenddata6",
                    filter: [
                      {
                        fieldname: "recommendruid",
                        relationop: "=",
                        word: "tuijian",
                      },
                      {
                        fieldname: "siteid",
                        relationop: "=",
                        word: [{ itemtype: "userinfo", value: "siteid" }],
                      },
                      {
                        fieldname: "customercode",
                        logicalop: "and",
                        valuetype: "S",
                        relationop: "=",
                        word: [{ itemtype: "userinfo", value: "customercode" }],
                      },
                    ],
                  },
                },
              ],
            },
            {
              type: "count",
              name: "热评",
              fieldname: "RUID",
              filter: [
                {
                  fieldname: "2020022301",
                  relationop: ">",
                  word: "8",
                  valuetype: "L",
                },
              ],
            },
            {
              type: "count",
              name: "核心馆藏",
              fieldname: "RUID",
              filter: [
                {
                  fieldname: "2020051101",
                  relationop: ">",
                  word: "5",
                  valuetype: "L",
                },
              ],
            },
            {
              type: "count",
              name: "我的可荐购",
              fieldname: "RUID",
              filter: [
                {
                  fieldname: "externallibdataebook.libtype",
                  relationop: "=",
                  word: {
                    item: [{ itemtype: "confinfo", value: "recomlib" }],
                    defvalue: "xxx",
                  },
                },
              ],
            },
            {
              type: "count",
              name: "已荐购",
              fieldname: "RUID",
              filter: [
                {
                  relationop: "join",
                  join: {
                    type: "orderdata6",
                    logicalop: "and",
                    filter: [
                      {
                        fieldname: "recommenduserruid",
                        relationop: "=",
                        logicalop: "and",
                        word: {
                          item: [{ itemtype: "userinfo", value: "ruid" }],
                          defvalue: "xxx",
                        },
                      },
                      {
                        fieldname: "customercode",
                        relationop: "=",
                        logicalop: "AND",
                        word: [{ itemtype: "userinfo", value: "customercode" }],
                      },
                    ],
                  },
                },
                {
                  fieldname: "2020041301",
                  relationop: "!=",
                  word: [{ itemtype: "userinfo", value: "ruid" }],
                },
              ],
            },
            {
              type: "count",
              name: "我的推荐",
              fieldname: "RUID",
              filter: [
                {
                  relationop: "join",
                  join: {
                    type: "recommenddata6",
                    logicalop: "and",
                    filter: [
                      {
                        fieldname: "recommendruid",
                        relationop: "=",
                        word: "tuijian",
                      },
                      {
                        fieldname: "creator",
                        relationop: "=",
                        word: {
                          item: [{ itemtype: "userinfo", value: "ruid" }],
                          defvalue: "xxx",
                        },
                      },
                      {
                        fieldname: "customercode",
                        relationop: "=",
                        logicalop: "AND",
                        word: [{ itemtype: "userinfo", value: "customercode" }],
                      },
                    ],
                  },
                },
              ],
            },
            {
              type: "count",
              name: "本馆购买",
              fieldname: "RUID",
              filter: [
                {
                  fieldname: "externallibdataebook.libtype",
                  relationop: "=",
                  word: {
                    item: [{ itemtype: "confinfo", value: "custlib" }],
                    defvalue: "xxx",
                  },
                },
              ],
            },
            {
              type: "count",
              name: "我的不感兴趣",
              fieldname: "RUID",
              filter: [
                {
                  fieldname: "2020041301",
                  relationop: "=",
                  word: [{ itemtype: "userinfo", value: "ruid" }],
                },
                {
                  relationop: "join",
                  join: {
                    type: "recommenddata6",
                    filter: [
                      {
                        fieldname: "creator",
                        relationop: "=",
                        word: {
                          item: [{ itemtype: "userinfo", value: "ruid" }],
                          defvalue: "xxx",
                        },
                      },
                      {
                        fieldname: "wfstatus",
                        relationop: "=",
                        word: "boring",
                      },
                    ],
                  },
                },
              ],
            },
            {
              type: "count",
              name: "我的收藏",
              fieldname: "RUID",
              filter: [],
            },
            {
              type: "count",
              name: "我的书单",
              fieldname: "RUID",
              filter: [],
            },
          ],
        }).then((res) => {
          this.list = res;

          if (!res.aggs) {
            return;
          }
          res.aggs.forEach((item) => {
            this.titils.forEach((Element) => {
              if (item.name === Element) {
                this.newList.push(item);
                // console.log(this.newList)
              }
            });
          });
        });
      } else if (name == "作者") {
        getHome({
          pageno: 0,
          returndolist: "0",
          filter: [
            { fieldname: "dmcode", relationop: "=", word: 1987051001 },
            {
              fieldname: "15900001",
              relationop: "like",
              word: this.name,
            },
          ],
          mdcodes: "10100001,15900001",
          field: [
            {
              name: "题名",
              valueSource: "mdv",
              metadata: [{ metadataCode: "10100001" }],
            },
            {
              name: "封面",
              valueSource: "mdv",
              metadata: [{ metadataCode: "294750001" }],
            },
            {
              name: "中文译名",
              valueSource: "mdv",
              metadata: [{ metadataCode: "765451001" }],
            },
            {
              name: "责任者",
              valueSource: "mdv",
              metadata: [{ metadataCode: "15900001" }],
            },
            {
              name: "出版社",
              valueSource: "mdv",
              metadata: [{ metadataCode: "10400001" }],
            },
            {
              name: "出版时间",
              valueSource: "mdv",
              metadata: [{ metadataCode: "90000" }],
            },
            {
              name: "ISBN",
              valueSource: "mdv",
              metadata: [{ metadataCode: "281450001" }],
            },
            {
              name: "荐购次数",
              valueSource: "mdv",
              metadata: [{ metadataCode: "20800002" }],
            },
            {
              name: "简介",
              valueSource: "mdv",
              metadata: [{ metadataCode: "10700001" }],
            },
            {
              name: "丛编",
              valueSource: "mdv",
              metadata: [{ metadataCode: "281750001" }],
            },
            {
              name: "版次",
              valueSource: "mdv",
              metadata: [{ metadataCode: "2019102203" }],
            },
            {
              name: "页码",
              valueSource: "mdv",
              metadata: [{ metadataCode: "524100001" }],
            },
            {
              name: "语种",
              valueSource: "mdv",
              metadata: [{ metadataCode: "10800001" }],
            },
            {
              name: "纸书价格",
              valueSource: "mdv",
              metadata: [{ metadataCode: "170000" }],
            },
            {
              name: "中图法分类号",
              valueSource: "mdv",
              metadata: [{ metadataCode: "16400001" }],
            },
            {
              name: "主题",
              valueSource: "mdv",
              metadata: [{ metadataCode: "10600001" }],
            },
            {
              name: "作者简介",
              valueSource: "mdv",
              metadata: [{ metadataCode: "927603022" }],
            },
            {
              name: "不感兴趣用户",
              valueSource: "mdv",
              metadata: [{ metadataCode: "2020041301" }],
            },
            {
              name: "副题名",
              valueSource: "mdv",
              metadata: [{ metadataCode: "765351001" }],
            },
            {
              name: "豆瓣评分",
              valueSource: "mdv",
              metadata: [{ metadataCode: "2020022301" }],
            },
            {
              name: "收藏馆数量",
              valueSource: "mdv",
              metadata: [{ metadataCode: "2020051101" }],
            },
            {
              name: "价格",
              valueSource: "mdv",
              metadata: [{ metadataCode: "281850001" }],
            },
            {
              name: "出版年",
              valueSource: "mdv",
              metadata: [{ metadataCode: "10500021" }],
            },
            {
              name: "馆藏标识",
              valueSource: "mdv",
              metadata: [{ metadataCode: "20171015" }],
            },
            {
              name: "资源库标识",
              valueSource: "mdv",
              metadata: [{ metadataCode: "20171014" }],
            },
            {
              name: "目次",
              valueSource: "mdv",
              metadata: [{ metadataCode: "50" }],
            },
          ],
          aggs: [
            {
              type: "category",
              name: "中图法分类",
              pagesize: 1000,
              order: "OrdernoASC",
              classroot: "182693850009090bd3",
              mdcode: "331450001",
              delurlparam: "pn",
              selitemurlparam: "_aggztf",
              navlevel: 1,
              shownodata: "1",
              allwaysroot: 1,
            },
            {
              type: "category",
              name: "学科分类",
              pagesize: 1000,
              order: "OrdernoASC",
              classroot: "1ad180a50009a40bce",
              mdcode: "331440001",
              delurlparam: "pn",
              selitemurlparam: "_aggxk",
              navlevel: 1,
              shownodata: "1",
              allwaysroot: 1,
            },
            {
              type: "category",
              name: "新书上架",
              pagesize: 1000,
              order: "OrdernoASC",
              classroot: {
                item: [{ itemtype: "u", value: "gcclass" }],
                defvalue: "cate1",
              },
              mdcode: "2020040101",
              delurlparam: "pn",
              selitemurlparam: "_agggc",
              navlevel: 1,
              shownodata: "1",
              allwaysroot: 1,
            },
            {
              type: "mdvalue",
              name: "语种",
              pagesize: 100,
              order: "CountDESC",
              mdcode: "10800001",
              selitemurlparam: "_aggmdv_10800001",
              delurlparam: "pn",
            },
            {
              type: "mdvalue",
              name: "出版社",
              pagesize: 100,
              order: "CountDESC",
              mdcode: "10400001",
              selitemurlparam: "_aggmdv_10400001",
              delurlparam: "pn",
            },
            {
              type: "mdvalue",
              name: "作者",
              pagesize: 100,
              order: "CountDESC",
              mdcode: "15900001",
              selitemurlparam: "_aggmdv_15900001",
              delurlparam: "pn",
            },
            {
              type: "mdvalue",
              name: "主题词",
              pagesize: 100,
              order: "CountDESC",
              mdcode: "10600001",
              selitemurlparam: "_aggmdv_10600001",
              delurlparam: "pn",
            },
            {
              type: "mdvalue",
              name: "数据库",
              pagesize: 50,
              order: "CountDESC",
              mdcode: "20171014",
              selitemurlparam: "_aggmdv_20171014",
              delurlparam: "pn",
            },
            {
              type: "mdvalue",
              name: "标签",
              pagesize: 20,
              order: "CountDESC",
              mdcode: "2020051311",
              selitemurlparam: "bqname",
              delurlparam: "pn",
            },
          ],
          metrics: [
            {
              type: "count",
              name: "全部",
              fieldname: "RUID",
            },
            {
              type: "count",
              name: "Publisheds",
              fieldname: "RUID",
              filter: [
                {
                  fieldname: "10500021",
                  relationop: "=",
                  valuetype: "D",
                  word: [
                    {
                      itemtype: "edate",
                      value: {
                        base: "systime",
                        type: "year",
                        dif: "0",
                        pattern: "yyyy",
                      },
                    },
                  ],
                },
              ],
            },
            {
              type: "count",
              name: "PublishedLast",
              fieldname: "RUID",
              filter: [
                {
                  fieldname: "10500021",
                  relationop: "=",
                  valuetype: "D",
                  word: [
                    {
                      itemtype: "edate",
                      value: {
                        base: "systime",
                        type: "year",
                        dif: "-1",
                        pattern: "yyyy",
                      },
                    },
                  ],
                },
              ],
            },
            {
              type: "count",
              name: "beforePublication",
              fieldname: "RUID",
              filter: [
                {
                  fieldname: "10500021",
                  relationop: "=",
                  valuetype: "D",
                  word: [
                    {
                      itemtype: "edate",
                      value: {
                        base: "systime",
                        type: "year",
                        dif: "-2",
                        pattern: "yyyy",
                      },
                    },
                  ],
                },
              ],
            },
            {
              type: "count",
              name: "大前年出版",
              fieldname: "RUID",
              filter: [
                {
                  fieldname: "10500021",
                  relationop: "=",
                  valuetype: "D",
                  word: [
                    {
                      itemtype: "edate",
                      value: {
                        base: "systime",
                        type: "year",
                        dif: "-3",
                        pattern: "yyyy",
                      },
                    },
                  ],
                },
              ],
            },
            {
              type: "count",
              name: "大大前年出版",
              fieldname: "RUID",
              filter: [
                {
                  fieldname: "10500021",
                  relationop: "=",
                  valuetype: "D",
                  word: [
                    {
                      itemtype: "edate",
                      value: {
                        base: "systime",
                        type: "year",
                        dif: "-4",
                        pattern: "yyyy",
                      },
                    },
                  ],
                },
              ],
            },
            {
              type: "count",
              name: "热门推荐",
              fieldname: "RUID",
              filter: [
                {
                  fieldname: "20800002",
                  relationop: ">=",
                  word: "2",
                  valuetype: "L",
                },
              ],
            },
            {
              type: "count",
              name: "馆员推荐",
              fieldname: "RUID",
              filter: [
                {
                  relationop: "join",
                  join: {
                    type: "recommenddata6",
                    filter: [
                      {
                        fieldname: "recommendruid",
                        relationop: "=",
                        word: "tuijian",
                      },
                      {
                        fieldname: "siteid",
                        relationop: "=",
                        word: [{ itemtype: "userinfo", value: "siteid" }],
                      },
                      {
                        fieldname: "customercode",
                        logicalop: "and",
                        valuetype: "S",
                        relationop: "=",
                        word: [{ itemtype: "userinfo", value: "customercode" }],
                      },
                    ],
                  },
                },
              ],
            },
            {
              type: "count",
              name: "热评",
              fieldname: "RUID",
              filter: [
                {
                  fieldname: "2020022301",
                  relationop: ">",
                  word: "8",
                  valuetype: "L",
                },
              ],
            },
            {
              type: "count",
              name: "核心馆藏",
              fieldname: "RUID",
              filter: [
                {
                  fieldname: "2020051101",
                  relationop: ">",
                  word: "5",
                  valuetype: "L",
                },
              ],
            },
            {
              type: "count",
              name: "我的可荐购",
              fieldname: "RUID",
              filter: [
                {
                  fieldname: "externallibdataebook.libtype",
                  relationop: "=",
                  word: {
                    item: [{ itemtype: "confinfo", value: "recomlib" }],
                    defvalue: "xxx",
                  },
                },
              ],
            },
            {
              type: "count",
              name: "已荐购",
              fieldname: "RUID",
              filter: [
                {
                  relationop: "join",
                  join: {
                    type: "orderdata6",
                    logicalop: "and",
                    filter: [
                      {
                        fieldname: "recommenduserruid",
                        relationop: "=",
                        logicalop: "and",
                        word: {
                          item: [{ itemtype: "userinfo", value: "ruid" }],
                          defvalue: "xxx",
                        },
                      },
                      {
                        fieldname: "customercode",
                        relationop: "=",
                        logicalop: "AND",
                        word: [{ itemtype: "userinfo", value: "customercode" }],
                      },
                    ],
                  },
                },
                {
                  fieldname: "2020041301",
                  relationop: "!=",
                  word: [{ itemtype: "userinfo", value: "ruid" }],
                },
              ],
            },
            {
              type: "count",
              name: "我的推荐",
              fieldname: "RUID",
              filter: [
                {
                  relationop: "join",
                  join: {
                    type: "recommenddata6",
                    logicalop: "and",
                    filter: [
                      {
                        fieldname: "recommendruid",
                        relationop: "=",
                        word: "tuijian",
                      },
                      {
                        fieldname: "creator",
                        relationop: "=",
                        word: {
                          item: [{ itemtype: "userinfo", value: "ruid" }],
                          defvalue: "xxx",
                        },
                      },
                      {
                        fieldname: "customercode",
                        relationop: "=",
                        logicalop: "AND",
                        word: [{ itemtype: "userinfo", value: "customercode" }],
                      },
                    ],
                  },
                },
              ],
            },
            {
              type: "count",
              name: "本馆购买",
              fieldname: "RUID",
              filter: [
                {
                  fieldname: "externallibdataebook.libtype",
                  relationop: "=",
                  word: {
                    item: [{ itemtype: "confinfo", value: "custlib" }],
                    defvalue: "xxx",
                  },
                },
              ],
            },
            {
              type: "count",
              name: "我的不感兴趣",
              fieldname: "RUID",
              filter: [
                {
                  fieldname: "2020041301",
                  relationop: "=",
                  word: [{ itemtype: "userinfo", value: "ruid" }],
                },
                {
                  relationop: "join",
                  join: {
                    type: "recommenddata6",
                    filter: [
                      {
                        fieldname: "creator",
                        relationop: "=",
                        word: {
                          item: [{ itemtype: "userinfo", value: "ruid" }],
                          defvalue: "xxx",
                        },
                      },
                      {
                        fieldname: "wfstatus",
                        relationop: "=",
                        word: "boring",
                      },
                    ],
                  },
                },
              ],
            },
            {
              type: "count",
              name: "我的收藏",
              fieldname: "RUID",
              filter: [],
            },
            {
              type: "count",
              name: "我的书单",
              fieldname: "RUID",
              filter: [],
            },
          ],
        }).then((res) => {
          this.list = res;

          if (!res.aggs) {
            return;
          }
          res.aggs.forEach((item) => {
            this.titils.forEach((Element) => {
              if (item.name === Element) {
                this.newList.push(item);
                // console.log(this.newList)
              }
            });
          });
        });
      } else {
        getHome({
          pageno: 0,
          returndolist: "0",
          filter: [
            { fieldname: "dmcode", relationop: "=", word: 1987051001 },
            {
              fieldname:
                "10100001,282150001,15900001,281450001,10400001,2020051311,10600001",
              relationop: "like",
              word: this.name,
            },
          ],
          mdcodes: "10100001,15900001",
          field: [
            {
              name: "题名",
              valueSource: "mdv",
              metadata: [{ metadataCode: "10100001" }],
            },
            {
              name: "封面",
              valueSource: "mdv",
              metadata: [{ metadataCode: "294750001" }],
            },
            {
              name: "中文译名",
              valueSource: "mdv",
              metadata: [{ metadataCode: "765451001" }],
            },
            {
              name: "责任者",
              valueSource: "mdv",
              metadata: [{ metadataCode: "15900001" }],
            },
            {
              name: "出版社",
              valueSource: "mdv",
              metadata: [{ metadataCode: "10400001" }],
            },
            {
              name: "出版时间",
              valueSource: "mdv",
              metadata: [{ metadataCode: "90000" }],
            },
            {
              name: "ISBN",
              valueSource: "mdv",
              metadata: [{ metadataCode: "281450001" }],
            },
            {
              name: "荐购次数",
              valueSource: "mdv",
              metadata: [{ metadataCode: "20800002" }],
            },
            {
              name: "简介",
              valueSource: "mdv",
              metadata: [{ metadataCode: "10700001" }],
            },
            {
              name: "丛编",
              valueSource: "mdv",
              metadata: [{ metadataCode: "281750001" }],
            },
            {
              name: "版次",
              valueSource: "mdv",
              metadata: [{ metadataCode: "2019102203" }],
            },
            {
              name: "页码",
              valueSource: "mdv",
              metadata: [{ metadataCode: "524100001" }],
            },
            {
              name: "语种",
              valueSource: "mdv",
              metadata: [{ metadataCode: "10800001" }],
            },
            {
              name: "纸书价格",
              valueSource: "mdv",
              metadata: [{ metadataCode: "170000" }],
            },
            {
              name: "中图法分类号",
              valueSource: "mdv",
              metadata: [{ metadataCode: "16400001" }],
            },
            {
              name: "主题",
              valueSource: "mdv",
              metadata: [{ metadataCode: "10600001" }],
            },
            {
              name: "作者简介",
              valueSource: "mdv",
              metadata: [{ metadataCode: "927603022" }],
            },
            {
              name: "不感兴趣用户",
              valueSource: "mdv",
              metadata: [{ metadataCode: "2020041301" }],
            },
            {
              name: "副题名",
              valueSource: "mdv",
              metadata: [{ metadataCode: "765351001" }],
            },
            {
              name: "豆瓣评分",
              valueSource: "mdv",
              metadata: [{ metadataCode: "2020022301" }],
            },
            {
              name: "收藏馆数量",
              valueSource: "mdv",
              metadata: [{ metadataCode: "2020051101" }],
            },
            {
              name: "价格",
              valueSource: "mdv",
              metadata: [{ metadataCode: "281850001" }],
            },
            {
              name: "出版年",
              valueSource: "mdv",
              metadata: [{ metadataCode: "10500021" }],
            },
            {
              name: "馆藏标识",
              valueSource: "mdv",
              metadata: [{ metadataCode: "20171015" }],
            },
            {
              name: "资源库标识",
              valueSource: "mdv",
              metadata: [{ metadataCode: "20171014" }],
            },
            {
              name: "目次",
              valueSource: "mdv",
              metadata: [{ metadataCode: "50" }],
            },
          ],
          aggs: [
            {
              type: "category",
              name: "中图法分类",
              pagesize: 1000,
              order: "OrdernoASC",
              classroot: "182693850009090bd3",
              mdcode: "331450001",
              delurlparam: "pn",
              selitemurlparam: "_aggztf",
              navlevel: 1,
              shownodata: "1",
              allwaysroot: 1,
            },
            {
              type: "category",
              name: "学科分类",
              pagesize: 1000,
              order: "OrdernoASC",
              classroot: "1ad180a50009a40bce",
              mdcode: "331440001",
              delurlparam: "pn",
              selitemurlparam: "_aggxk",
              navlevel: 1,
              shownodata: "1",
              allwaysroot: 1,
            },
            {
              type: "category",
              name: "新书上架",
              pagesize: 1000,
              order: "OrdernoASC",
              classroot: {
                item: [{ itemtype: "u", value: "gcclass" }],
                defvalue: "cate1",
              },
              mdcode: "2020040101",
              delurlparam: "pn",
              selitemurlparam: "_agggc",
              navlevel: 1,
              shownodata: "1",
              allwaysroot: 1,
            },
            {
              type: "mdvalue",
              name: "语种",
              pagesize: 100,
              order: "CountDESC",
              mdcode: "10800001",
              selitemurlparam: "_aggmdv_10800001",
              delurlparam: "pn",
            },
            {
              type: "mdvalue",
              name: "出版社",
              pagesize: 100,
              order: "CountDESC",
              mdcode: "10400001",
              selitemurlparam: "_aggmdv_10400001",
              delurlparam: "pn",
            },
            {
              type: "mdvalue",
              name: "作者",
              pagesize: 100,
              order: "CountDESC",
              mdcode: "15900001",
              selitemurlparam: "_aggmdv_15900001",
              delurlparam: "pn",
            },
            {
              type: "mdvalue",
              name: "主题词",
              pagesize: 100,
              order: "CountDESC",
              mdcode: "10600001",
              selitemurlparam: "_aggmdv_10600001",
              delurlparam: "pn",
            },
            {
              type: "mdvalue",
              name: "数据库",
              pagesize: 50,
              order: "CountDESC",
              mdcode: "20171014",
              selitemurlparam: "_aggmdv_20171014",
              delurlparam: "pn",
            },
            {
              type: "mdvalue",
              name: "标签",
              pagesize: 20,
              order: "CountDESC",
              mdcode: "2020051311",
              selitemurlparam: "bqname",
              delurlparam: "pn",
            },
          ],
          metrics: [
            {
              type: "count",
              name: "全部",
              fieldname: "RUID",
            },
            {
              type: "count",
              name: "Publisheds",
              fieldname: "RUID",
              filter: [
                {
                  fieldname: "10500021",
                  relationop: "=",
                  valuetype: "D",
                  word: [
                    {
                      itemtype: "edate",
                      value: {
                        base: "systime",
                        type: "year",
                        dif: "0",
                        pattern: "yyyy",
                      },
                    },
                  ],
                },
              ],
            },
            {
              type: "count",
              name: "PublishedLast",
              fieldname: "RUID",
              filter: [
                {
                  fieldname: "10500021",
                  relationop: "=",
                  valuetype: "D",
                  word: [
                    {
                      itemtype: "edate",
                      value: {
                        base: "systime",
                        type: "year",
                        dif: "-1",
                        pattern: "yyyy",
                      },
                    },
                  ],
                },
              ],
            },
            {
              type: "count",
              name: "beforePublication",
              fieldname: "RUID",
              filter: [
                {
                  fieldname: "10500021",
                  relationop: "=",
                  valuetype: "D",
                  word: [
                    {
                      itemtype: "edate",
                      value: {
                        base: "systime",
                        type: "year",
                        dif: "-2",
                        pattern: "yyyy",
                      },
                    },
                  ],
                },
              ],
            },
            {
              type: "count",
              name: "大前年出版",
              fieldname: "RUID",
              filter: [
                {
                  fieldname: "10500021",
                  relationop: "=",
                  valuetype: "D",
                  word: [
                    {
                      itemtype: "edate",
                      value: {
                        base: "systime",
                        type: "year",
                        dif: "-3",
                        pattern: "yyyy",
                      },
                    },
                  ],
                },
              ],
            },
            {
              type: "count",
              name: "大大前年出版",
              fieldname: "RUID",
              filter: [
                {
                  fieldname: "10500021",
                  relationop: "=",
                  valuetype: "D",
                  word: [
                    {
                      itemtype: "edate",
                      value: {
                        base: "systime",
                        type: "year",
                        dif: "-4",
                        pattern: "yyyy",
                      },
                    },
                  ],
                },
              ],
            },
            {
              type: "count",
              name: "热门推荐",
              fieldname: "RUID",
              filter: [
                {
                  fieldname: "20800002",
                  relationop: ">=",
                  word: "2",
                  valuetype: "L",
                },
              ],
            },
            {
              type: "count",
              name: "馆员推荐",
              fieldname: "RUID",
              filter: [
                {
                  relationop: "join",
                  join: {
                    type: "recommenddata6",
                    filter: [
                      {
                        fieldname: "recommendruid",
                        relationop: "=",
                        word: "tuijian",
                      },
                      {
                        fieldname: "siteid",
                        relationop: "=",
                        word: [{ itemtype: "userinfo", value: "siteid" }],
                      },
                      {
                        fieldname: "customercode",
                        logicalop: "and",
                        valuetype: "S",
                        relationop: "=",
                        word: [{ itemtype: "userinfo", value: "customercode" }],
                      },
                    ],
                  },
                },
              ],
            },
            {
              type: "count",
              name: "热评",
              fieldname: "RUID",
              filter: [
                {
                  fieldname: "2020022301",
                  relationop: ">",
                  word: "8",
                  valuetype: "L",
                },
              ],
            },
            {
              type: "count",
              name: "核心馆藏",
              fieldname: "RUID",
              filter: [
                {
                  fieldname: "2020051101",
                  relationop: ">",
                  word: "5",
                  valuetype: "L",
                },
              ],
            },
            {
              type: "count",
              name: "我的可荐购",
              fieldname: "RUID",
              filter: [
                {
                  fieldname: "externallibdataebook.libtype",
                  relationop: "=",
                  word: {
                    item: [{ itemtype: "confinfo", value: "recomlib" }],
                    defvalue: "xxx",
                  },
                },
              ],
            },
            {
              type: "count",
              name: "已荐购",
              fieldname: "RUID",
              filter: [
                {
                  relationop: "join",
                  join: {
                    type: "orderdata6",
                    logicalop: "and",
                    filter: [
                      {
                        fieldname: "recommenduserruid",
                        relationop: "=",
                        logicalop: "and",
                        word: {
                          item: [{ itemtype: "userinfo", value: "ruid" }],
                          defvalue: "xxx",
                        },
                      },
                      {
                        fieldname: "customercode",
                        relationop: "=",
                        logicalop: "AND",
                        word: [{ itemtype: "userinfo", value: "customercode" }],
                      },
                    ],
                  },
                },
                {
                  fieldname: "2020041301",
                  relationop: "!=",
                  word: [{ itemtype: "userinfo", value: "ruid" }],
                },
              ],
            },
            {
              type: "count",
              name: "我的推荐",
              fieldname: "RUID",
              filter: [
                {
                  relationop: "join",
                  join: {
                    type: "recommenddata6",
                    logicalop: "and",
                    filter: [
                      {
                        fieldname: "recommendruid",
                        relationop: "=",
                        word: "tuijian",
                      },
                      {
                        fieldname: "creator",
                        relationop: "=",
                        word: {
                          item: [{ itemtype: "userinfo", value: "ruid" }],
                          defvalue: "xxx",
                        },
                      },
                      {
                        fieldname: "customercode",
                        relationop: "=",
                        logicalop: "AND",
                        word: [{ itemtype: "userinfo", value: "customercode" }],
                      },
                    ],
                  },
                },
              ],
            },
            {
              type: "count",
              name: "本馆购买",
              fieldname: "RUID",
              filter: [
                {
                  fieldname: "externallibdataebook.libtype",
                  relationop: "=",
                  word: {
                    item: [{ itemtype: "confinfo", value: "custlib" }],
                    defvalue: "xxx",
                  },
                },
              ],
            },
            {
              type: "count",
              name: "我的不感兴趣",
              fieldname: "RUID",
              filter: [
                {
                  fieldname: "2020041301",
                  relationop: "=",
                  word: [{ itemtype: "userinfo", value: "ruid" }],
                },
                {
                  relationop: "join",
                  join: {
                    type: "recommenddata6",
                    filter: [
                      {
                        fieldname: "creator",
                        relationop: "=",
                        word: {
                          item: [{ itemtype: "userinfo", value: "ruid" }],
                          defvalue: "xxx",
                        },
                      },
                      {
                        fieldname: "wfstatus",
                        relationop: "=",
                        word: "boring",
                      },
                    ],
                  },
                },
              ],
            },
            {
              type: "count",
              name: "我的收藏",
              fieldname: "RUID",
              filter: [],
            },
            {
              type: "count",
              name: "我的书单",
              fieldname: "RUID",
              filter: [],
            },
          ],
        }).then((res) => {
          this.list = res;

          if (!res.aggs) {
            return;
          }
          res.aggs.forEach((item) => {
            this.titils.forEach((Element) => {
              if (item.name === Element) {
                this.newList.push(item);
              }
            });
          });
        });
      }
    },
    searchnameinput() {
      getHome({
        pageno: 0,
        returndolist: "0",
        filter: [
          { fieldname: "dmcode", relationop: "=", word: 1987051001 },
          {
            fieldname:
              "10100001,282150001,15900001,281450001,10400001,2020051311,10600001",
            relationop: "like",
            word: this.name,
          },
        ],
        mdcodes: "10100001,15900001",
        field: [
          {
            name: "题名",
            valueSource: "mdv",
            metadata: [{ metadataCode: "10100001" }],
          },
          {
            name: "封面",
            valueSource: "mdv",
            metadata: [{ metadataCode: "294750001" }],
          },
          {
            name: "中文译名",
            valueSource: "mdv",
            metadata: [{ metadataCode: "765451001" }],
          },
          {
            name: "责任者",
            valueSource: "mdv",
            metadata: [{ metadataCode: "15900001" }],
          },
          {
            name: "出版社",
            valueSource: "mdv",
            metadata: [{ metadataCode: "10400001" }],
          },
          {
            name: "出版时间",
            valueSource: "mdv",
            metadata: [{ metadataCode: "90000" }],
          },
          {
            name: "ISBN",
            valueSource: "mdv",
            metadata: [{ metadataCode: "281450001" }],
          },
          {
            name: "荐购次数",
            valueSource: "mdv",
            metadata: [{ metadataCode: "20800002" }],
          },
          {
            name: "简介",
            valueSource: "mdv",
            metadata: [{ metadataCode: "10700001" }],
          },
          {
            name: "丛编",
            valueSource: "mdv",
            metadata: [{ metadataCode: "281750001" }],
          },
          {
            name: "版次",
            valueSource: "mdv",
            metadata: [{ metadataCode: "2019102203" }],
          },
          {
            name: "页码",
            valueSource: "mdv",
            metadata: [{ metadataCode: "524100001" }],
          },
          {
            name: "语种",
            valueSource: "mdv",
            metadata: [{ metadataCode: "10800001" }],
          },
          {
            name: "纸书价格",
            valueSource: "mdv",
            metadata: [{ metadataCode: "170000" }],
          },
          {
            name: "中图法分类号",
            valueSource: "mdv",
            metadata: [{ metadataCode: "16400001" }],
          },
          {
            name: "主题",
            valueSource: "mdv",
            metadata: [{ metadataCode: "10600001" }],
          },
          {
            name: "作者简介",
            valueSource: "mdv",
            metadata: [{ metadataCode: "927603022" }],
          },
          {
            name: "不感兴趣用户",
            valueSource: "mdv",
            metadata: [{ metadataCode: "2020041301" }],
          },
          {
            name: "副题名",
            valueSource: "mdv",
            metadata: [{ metadataCode: "765351001" }],
          },
          {
            name: "豆瓣评分",
            valueSource: "mdv",
            metadata: [{ metadataCode: "2020022301" }],
          },
          {
            name: "收藏馆数量",
            valueSource: "mdv",
            metadata: [{ metadataCode: "2020051101" }],
          },
          {
            name: "价格",
            valueSource: "mdv",
            metadata: [{ metadataCode: "281850001" }],
          },
          {
            name: "出版年",
            valueSource: "mdv",
            metadata: [{ metadataCode: "10500021" }],
          },
          {
            name: "馆藏标识",
            valueSource: "mdv",
            metadata: [{ metadataCode: "20171015" }],
          },
          {
            name: "资源库标识",
            valueSource: "mdv",
            metadata: [{ metadataCode: "20171014" }],
          },
          {
            name: "目次",
            valueSource: "mdv",
            metadata: [{ metadataCode: "50" }],
          },
        ],
        aggs: [
          {
            type: "category",
            name: "中图法分类",
            pagesize: 1000,
            order: "OrdernoASC",
            classroot: "182693850009090bd3",
            mdcode: "331450001",
            delurlparam: "pn",
            selitemurlparam: "_aggztf",
            navlevel: 1,
            shownodata: "1",
            allwaysroot: 1,
          },
          {
            type: "category",
            name: "学科分类",
            pagesize: 1000,
            order: "OrdernoASC",
            classroot: "1ad180a50009a40bce",
            mdcode: "331440001",
            delurlparam: "pn",
            selitemurlparam: "_aggxk",
            navlevel: 1,
            shownodata: "1",
            allwaysroot: 1,
          },
          {
            type: "category",
            name: "新书上架",
            pagesize: 1000,
            order: "OrdernoASC",
            classroot: {
              item: [{ itemtype: "u", value: "gcclass" }],
              defvalue: "cate1",
            },
            mdcode: "2020040101",
            delurlparam: "pn",
            selitemurlparam: "_agggc",
            navlevel: 1,
            shownodata: "1",
            allwaysroot: 1,
          },
          {
            type: "mdvalue",
            name: "语种",
            pagesize: 100,
            order: "CountDESC",
            mdcode: "10800001",
            selitemurlparam: "_aggmdv_10800001",
            delurlparam: "pn",
          },
          {
            type: "mdvalue",
            name: "出版社",
            pagesize: 100,
            order: "CountDESC",
            mdcode: "10400001",
            selitemurlparam: "_aggmdv_10400001",
            delurlparam: "pn",
          },
          {
            type: "mdvalue",
            name: "作者",
            pagesize: 100,
            order: "CountDESC",
            mdcode: "15900001",
            selitemurlparam: "_aggmdv_15900001",
            delurlparam: "pn",
          },
          {
            type: "mdvalue",
            name: "主题词",
            pagesize: 100,
            order: "CountDESC",
            mdcode: "10600001",
            selitemurlparam: "_aggmdv_10600001",
            delurlparam: "pn",
          },
          {
            type: "mdvalue",
            name: "数据库",
            pagesize: 50,
            order: "CountDESC",
            mdcode: "20171014",
            selitemurlparam: "_aggmdv_20171014",
            delurlparam: "pn",
          },
          {
            type: "mdvalue",
            name: "标签",
            pagesize: 20,
            order: "CountDESC",
            mdcode: "2020051311",
            selitemurlparam: "bqname",
            delurlparam: "pn",
          },
        ],
        metrics: [
          {
            type: "count",
            name: "全部",
            fieldname: "RUID",
          },
          {
            type: "count",
            name: "Publisheds",
            fieldname: "RUID",
            filter: [
              {
                fieldname: "10500021",
                relationop: "=",
                valuetype: "D",
                word: [
                  {
                    itemtype: "edate",
                    value: {
                      base: "systime",
                      type: "year",
                      dif: "0",
                      pattern: "yyyy",
                    },
                  },
                ],
              },
            ],
          },
          {
            type: "count",
            name: "PublishedLast",
            fieldname: "RUID",
            filter: [
              {
                fieldname: "10500021",
                relationop: "=",
                valuetype: "D",
                word: [
                  {
                    itemtype: "edate",
                    value: {
                      base: "systime",
                      type: "year",
                      dif: "-1",
                      pattern: "yyyy",
                    },
                  },
                ],
              },
            ],
          },
          {
            type: "count",
            name: "beforePublication",
            fieldname: "RUID",
            filter: [
              {
                fieldname: "10500021",
                relationop: "=",
                valuetype: "D",
                word: [
                  {
                    itemtype: "edate",
                    value: {
                      base: "systime",
                      type: "year",
                      dif: "-2",
                      pattern: "yyyy",
                    },
                  },
                ],
              },
            ],
          },
          {
            type: "count",
            name: "大前年出版",
            fieldname: "RUID",
            filter: [
              {
                fieldname: "10500021",
                relationop: "=",
                valuetype: "D",
                word: [
                  {
                    itemtype: "edate",
                    value: {
                      base: "systime",
                      type: "year",
                      dif: "-3",
                      pattern: "yyyy",
                    },
                  },
                ],
              },
            ],
          },
          {
            type: "count",
            name: "大大前年出版",
            fieldname: "RUID",
            filter: [
              {
                fieldname: "10500021",
                relationop: "=",
                valuetype: "D",
                word: [
                  {
                    itemtype: "edate",
                    value: {
                      base: "systime",
                      type: "year",
                      dif: "-4",
                      pattern: "yyyy",
                    },
                  },
                ],
              },
            ],
          },
          {
            type: "count",
            name: "热门推荐",
            fieldname: "RUID",
            filter: [
              {
                fieldname: "20800002",
                relationop: ">=",
                word: "2",
                valuetype: "L",
              },
            ],
          },
          {
            type: "count",
            name: "馆员推荐",
            fieldname: "RUID",
            filter: [
              {
                relationop: "join",
                join: {
                  type: "recommenddata6",
                  filter: [
                    {
                      fieldname: "recommendruid",
                      relationop: "=",
                      word: "tuijian",
                    },
                    {
                      fieldname: "siteid",
                      relationop: "=",
                      word: [{ itemtype: "userinfo", value: "siteid" }],
                    },
                    {
                      fieldname: "customercode",
                      logicalop: "and",
                      valuetype: "S",
                      relationop: "=",
                      word: [{ itemtype: "userinfo", value: "customercode" }],
                    },
                  ],
                },
              },
            ],
          },
          {
            type: "count",
            name: "热评",
            fieldname: "RUID",
            filter: [
              {
                fieldname: "2020022301",
                relationop: ">",
                word: "8",
                valuetype: "L",
              },
            ],
          },
          {
            type: "count",
            name: "核心馆藏",
            fieldname: "RUID",
            filter: [
              {
                fieldname: "2020051101",
                relationop: ">",
                word: "5",
                valuetype: "L",
              },
            ],
          },
          {
            type: "count",
            name: "我的可荐购",
            fieldname: "RUID",
            filter: [
              {
                fieldname: "externallibdataebook.libtype",
                relationop: "=",
                word: {
                  item: [{ itemtype: "confinfo", value: "recomlib" }],
                  defvalue: "xxx",
                },
              },
            ],
          },
          {
            type: "count",
            name: "已荐购",
            fieldname: "RUID",
            filter: [
              {
                relationop: "join",
                join: {
                  type: "orderdata6",
                  logicalop: "and",
                  filter: [
                    {
                      fieldname: "recommenduserruid",
                      relationop: "=",
                      logicalop: "and",
                      word: {
                        item: [{ itemtype: "userinfo", value: "ruid" }],
                        defvalue: "xxx",
                      },
                    },
                    {
                      fieldname: "customercode",
                      relationop: "=",
                      logicalop: "AND",
                      word: [{ itemtype: "userinfo", value: "customercode" }],
                    },
                  ],
                },
              },
              {
                fieldname: "2020041301",
                relationop: "!=",
                word: [{ itemtype: "userinfo", value: "ruid" }],
              },
            ],
          },
          {
            type: "count",
            name: "我的推荐",
            fieldname: "RUID",
            filter: [
              {
                relationop: "join",
                join: {
                  type: "recommenddata6",
                  logicalop: "and",
                  filter: [
                    {
                      fieldname: "recommendruid",
                      relationop: "=",
                      word: "tuijian",
                    },
                    {
                      fieldname: "creator",
                      relationop: "=",
                      word: {
                        item: [{ itemtype: "userinfo", value: "ruid" }],
                        defvalue: "xxx",
                      },
                    },
                    {
                      fieldname: "customercode",
                      relationop: "=",
                      logicalop: "AND",
                      word: [{ itemtype: "userinfo", value: "customercode" }],
                    },
                  ],
                },
              },
            ],
          },
          {
            type: "count",
            name: "本馆购买",
            fieldname: "RUID",
            filter: [
              {
                fieldname: "externallibdataebook.libtype",
                relationop: "=",
                word: {
                  item: [{ itemtype: "confinfo", value: "custlib" }],
                  defvalue: "xxx",
                },
              },
            ],
          },
          {
            type: "count",
            name: "我的不感兴趣",
            fieldname: "RUID",
            filter: [
              {
                fieldname: "2020041301",
                relationop: "=",
                word: [{ itemtype: "userinfo", value: "ruid" }],
              },
              {
                relationop: "join",
                join: {
                  type: "recommenddata6",
                  filter: [
                    {
                      fieldname: "creator",
                      relationop: "=",
                      word: {
                        item: [{ itemtype: "userinfo", value: "ruid" }],
                        defvalue: "xxx",
                      },
                    },
                    {
                      fieldname: "wfstatus",
                      relationop: "=",
                      word: "boring",
                    },
                  ],
                },
              },
            ],
          },
          {
            type: "count",
            name: "我的收藏",
            fieldname: "RUID",
            filter: [],
          },
          {
            type: "count",
            name: "我的书单",
            fieldname: "RUID",
            filter: [],
          },
        ],
      }).then((res) => {
        this.list = res;

        if (!res.aggs) {
          return;
        }
        res.aggs.forEach((item) => {
          this.titils.forEach((Element) => {
            if (item.name === Element) {
              this.newList.push(item);
              // console.log(this.newList)
            }
          });
        });
      });
    },
    zreoOne(index) {
      if (index == "0") {
        this.zreo = !this.zreo;
      } else if (index == "1") {
        this.zreoOn = !this.zreoOn;
      } else if (index == "2") {
        this.zreoTwo = !this.zreoTwo;
      } else if (index == "3") {
        this.zreoThree = !this.zreoThree;
      } else if (index == "4") {
        this.zreoFour = !this.zreoFour;
      }
    },
  },
};
</script>
<style lang='scss' scoped>
.w {
  background: #13d6cf;
  padding: 10px;
  box-sizing: border-box;
  .contr {
    display: inline-block;
    padding: 10px;
    height: 40px;
    margin-left: 10px;
    background: #e6f0ef;
    font-size: 18px;
    text-align: center;
    line-height: 40px;
  }
  .title {
    width: 100%;
    display: flex;
    justify-content: center;
    .catroy {
      display: inline-block;
      width: 158px;
      height: 38px;
      background: #fff;
      color: #0086e4;
      font-size: 20px;
      text-align: center;
      line-height: 38px;
      border: 1px solid #0086e4;
    }
    .active {
      display: inline-block;
      width: 158px;
      height: 38px;
      background: #0086e4;
      font-size: 20px;
      color: #fff;
      text-align: center;
      line-height: 38px;
    }
  }
  .catroys {
    .xiaj {
      display: flex;
      overflow: hidden;
    }
    .catroysinfo {
      font-size: 20px;
      color: #000;
    }
    .active {
      font-size: 20px;
      color: #00a4ea;
    }
  }
}
.center {
  width: 1210px;
  margin: 0 auto;

  padding: 10px;
  box-sizing: border-box;
  display: flex;
  .left {
    border: 2px solid #eee;
    box-sizing: border-box;
    padding: 5px;
    width: 301px;
    .info {
      background: #eeeeee;
      max-height: 204px;
      display: flex;
      flex-direction: column;
      overflow: hidden;
      padding: 5px;
      box-sizing: border-box;
      .year {
        display: inline-block;
        padding: 10px;
        box-sizing: border-box;
        border-bottom: 1px solid #fff;
        .sleter {
          display: inline-block;
          width: 15px;
          height: 15px;
          border: 1px solid #999;
          border-radius: 50%;
        }
        .active {
          display: inline-block;
          width: 15px;
          height: 15px;
          background: #191;
          border-radius: 50%;
        }
      }
    }
  }
  .right {
    margin-left: 10px;
    width: 100%;
    .righr_title {
      background: #f7f7f7;
      padding: 10px;
      .title_catory {
        border-bottom: 1px solid #ccc;
        .catory_info {
          margin-bottom: 5px;
          display: inline-block;
          width: 110px;
          height: 34px;
          background: #cce7fa;
          text-align: center;
          line-height: 34px;
          color: #6ac1ed;
        }
        .active {
          display: inline-block;
          width: 110px;
          height: 34px;
          background: #0086e4;
          text-align: center;
          line-height: 34px;
          color: #fff;
        }
      }
      .bott {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 100%;
        box-sizing: border-box;
        margin-top: 8px;
        .bott_right {
          .all {
            display: inline-block;
            width: 121px;
            height: 33px;
            text-align: center;
            line-height: 33px;
          }
          .bath {
            display: inline-block;
            width: 121px;
            height: 33px;
            background: #ebf6fd;
            color: #0086e4;
            text-align: center;
            line-height: 33px;
          }
        }
      }
    }
    .word {
      width: 100%;
      box-sizing: border-box;
      display: flex;
      margin-top: 10px;
      justify-content: space-between;
      .word_left {
        .left_info {
          width: 100px;
          height: 35px;
          display: inline-block;
          text-align: center;
          line-height: 35px;
          color: #333;
          border: 1px solid #eee;
        }
        .active {
          width: 100px;
          height: 35px;
          display: inline-block;
          text-align: center;
          line-height: 35px;
          color: #fff;
          background: #0086e4;
        }
      }
      .word_search {
        .word_all {
          display: inline-block;
          width: 96px;
          height: 37px;
          border: 1px solid #eee;
          text-align: center;
          line-height: 37px;
        }
        .searchs {
          display: inline-block;
          width: 200px;
          height: 37px;
          border: 1px solid #eee;
        }
        .search {
          display: inline-block;
          width: 60px;
          height: 37px;
          border: 1px solid #eee;
          text-align: center;
          line-height: 37px;
        }
      }
    }
    .last_boot {
      margin-top: 10px;
      .boot_title {
        background: #eee;
        border-bottom: 1px solid #0086e4;
        .boot_match {
          display: inline-block;
          background: #0086e4;
          padding: 5px;
          height: 37px;
          color: #fff;
          text-align: center;
          line-height: 37px;
        }
      }
      .boolk_info {
        display: flex;
        margin-top: 20px;

        .imgs {
          display: flex;
          width: 132px;
          flex-direction: column;

          margin-left: 10px;
          .imgsin {
            width: 100%;
          }
        }
        .name_info {
          margin-left: 10px;
        }
      }
    }
  }
}
</style>